diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2002-01-13 05:27:41 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2002-01-13 05:27:41 +0000 |
commit | 2b5899c9f64427d3367053071bffc71de83c439b (patch) | |
tree | c9f2da122764435e16d04380db872f893242ffd7 | |
parent | f422af3e9596a3d24abc1a6dffeeb7995257f61e (diff) |
Regress this one additional change, with this change more systems
successfully ran 'make build'.
-rw-r--r-- | sys/arch/powerpc/powerpc/pmap.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/powerpc/powerpc/pmap.c b/sys/arch/powerpc/powerpc/pmap.c index 40b11085298..3cf66b09549 100644 --- a/sys/arch/powerpc/powerpc/pmap.c +++ b/sys/arch/powerpc/powerpc/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.54 2002/01/06 06:02:59 drahn Exp $ */ +/* $OpenBSD: pmap.c,v 1.55 2002/01/13 05:27:40 drahn Exp $ */ /* $NetBSD: pmap.c,v 1.1 1996/09/30 16:34:52 ws Exp $ */ /* @@ -1334,6 +1334,8 @@ pmap_enter_c_pv(pm, va, pa, prot, flags, cacheable, pv) return (0); } +#define KERN_MAP_PV TRUE + void pmap_kenter_cache(va, pa, prot, cacheable) vaddr_t va; @@ -1342,7 +1344,7 @@ pmap_kenter_cache(va, pa, prot, cacheable) int cacheable; { pmap_enter_c_pv(pmap_kernel(), va, pa, prot, PMAP_WIRED, cacheable, - FALSE); + KERN_MAP_PV); } void pmap_kenter_pa(va, pa, prot) @@ -1351,7 +1353,7 @@ pmap_kenter_pa(va, pa, prot) vm_prot_t prot; { pmap_enter_c_pv(pmap_kernel(), va, pa, prot, PMAP_WIRED, - PMAP_CACHE_DEFAULT, FALSE); + PMAP_CACHE_DEFAULT, KERN_MAP_PV); } void pmap_remove_pvl( struct pmap *pm, vm_offset_t va, vm_offset_t endva, @@ -1362,7 +1364,7 @@ pmap_kremove(va, len) vsize_t len; { for (len >>= PAGE_SHIFT; len > 0; len--, va += PAGE_SIZE) { - pmap_remove_pvl(pmap_kernel(), va, va + PAGE_SIZE, FALSE); + pmap_remove_pvl(pmap_kernel(), va, va + PAGE_SIZE, KERN_MAP_PV); } } |