Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/powerpc/oea/pmap.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/powerpc/oea/pmap.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.75.2.2 retrieving revision 1.76 diff -u -p -r1.75.2.2 -r1.76 --- src/sys/arch/powerpc/oea/pmap.c 2011/03/05 15:09:59 1.75.2.2 +++ src/sys/arch/powerpc/oea/pmap.c 2011/02/12 18:23:10 1.76 @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.c,v 1.75.2.2 2011/03/05 15:09:59 bouyer Exp $ */ +/* $NetBSD: pmap.c,v 1.76 2011/02/12 18:23:10 matt Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. @@ -63,7 +63,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.75.2.2 2011/03/05 15:09:59 bouyer Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.76 2011/02/12 18:23:10 matt Exp $"); #define PMAP_NOOPNAMES @@ -1927,11 +1927,7 @@ pmap_enter(pmap_t pm, vaddr_t va, paddr_ * it's in our available memory array. If it is in the memory array, * asssume it's in memory coherent memory. */ - if (flags & PMAP_MD_PREFETCHABLE) { - pte_lo = 0; - } else - pte_lo = PTE_G; - + pte_lo = PTE_IG; if ((flags & PMAP_MD_NOCACHE) == 0) { for (mp = mem; mp->size; mp++) { if (pa >= mp->start && pa < mp->start + mp->size) { @@ -1939,8 +1935,6 @@ pmap_enter(pmap_t pm, vaddr_t va, paddr_ break; } } - } else { - pte_lo |= PTE_I; } if (prot & VM_PROT_WRITE)