Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/ibm4xx Switch to using dcache_wbinv_page



details:   https://anonhg.NetBSD.org/src/rev/68140e6e361f
branches:  trunk
changeset: 766354:68140e6e361f
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jun 21 04:21:44 2011 +0000

description:
Switch to using dcache_wbinv_page

diffstat:

 sys/arch/powerpc/ibm4xx/pmap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r be4c8531ff16 -r 68140e6e361f sys/arch/powerpc/ibm4xx/pmap.c
--- a/sys/arch/powerpc/ibm4xx/pmap.c    Tue Jun 21 04:21:16 2011 +0000
+++ b/sys/arch/powerpc/ibm4xx/pmap.c    Tue Jun 21 04:21:44 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.68 2011/06/20 08:13:17 matt Exp $   */
+/*     $NetBSD: pmap.c,v 1.69 2011/06/21 04:21:44 matt Exp $   */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.68 2011/06/20 08:13:17 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.69 2011/06/21 04:21:44 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -702,7 +702,7 @@
 {
 
        memcpy((void *)dst, (void *)src, PAGE_SIZE);
-       dcache_flush_page(dst);
+       dcache_wbinv_page(dst);
 }
 
 /*



Home | Main Index | Thread Index | Old Index