Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Remove #if 0'ed old style cache handling ...



details:   https://anonhg.NetBSD.org/src/rev/f0228e548a98
branches:  trunk
changeset: 823926:f0228e548a98
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun May 14 15:36:45 2017 +0000

description:
Remove #if 0'ed old style cache handling in pmap_md_unmap_poolpage

diffstat:

 sys/arch/mips/mips/pmap_machdep.c |  15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diffs (36 lines):

diff -r 62db3108ff93 -r f0228e548a98 sys/arch/mips/mips/pmap_machdep.c
--- a/sys/arch/mips/mips/pmap_machdep.c Sun May 14 14:14:39 2017 +0000
+++ b/sys/arch/mips/mips/pmap_machdep.c Sun May 14 15:36:45 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_machdep.c,v 1.17 2017/05/14 11:46:22 skrll Exp $  */
+/*     $NetBSD: pmap_machdep.c,v 1.18 2017/05/14 15:36:45 skrll Exp $  */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.17 2017/05/14 11:46:22 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_machdep.c,v 1.18 2017/05/14 15:36:45 skrll Exp $");
 
 /*
  *     Manages physical address maps.
@@ -762,16 +762,7 @@
 
        /* Note last mapped address for future color check */
        pv->pv_va = va;
-#if 0
-       if (MIPS_CACHE_VIRTUAL_ALIAS) {
-               /*
-                * We've unmapped a poolpage.  Its contents are irrelevant.
-                */
-               KASSERT((va & PAGE_MASK) == 0);
-               mips_dcache_inv_range(va, PAGE_SIZE);
-               pv->pv_va = va;
-       }
-#endif
+
        KASSERT(pv->pv_pmap == NULL);
        KASSERT(pv->pv_next == NULL);
 



Home | Main Index | Thread Index | Old Index