diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-17 22:08:08 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-07-17 22:08:08 +0000 |
commit | da5e593aa5102ae6e0b57d85984cd08a32fa9912 (patch) | |
tree | 19f12a2d13181cea1c91d74acb84c964734d37ee /sys/arch | |
parent | 8bbd1e5dfa3e18b14c7759c5d65609cd8ca329ce (diff) |
be consistant w/ NBPG vs PAGE_SIZE
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/pmap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/hppa/hppa/pmap.c b/sys/arch/hppa/hppa/pmap.c index c0cbcac085d..1ba51e301a2 100644 --- a/sys/arch/hppa/hppa/pmap.c +++ b/sys/arch/hppa/hppa/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.76 2002/05/20 06:13:00 mickey Exp $ */ +/* $OpenBSD: pmap.c,v 1.77 2002/07/17 22:08:07 mickey Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -716,9 +716,9 @@ pmap_enter(pmap, va, pa, prot, flags) ("pmap_enter: remapping 0x%x -> 0x%x\n", pte, pa)); if (pte & PTE_PROT(TLB_EXECUTE)) - ficache(pmap->pm_space, va, NBPG); + ficache(pmap->pm_space, va, PAGE_SIZE); pitlb(pmap->pm_space, va); - fdcache(pmap->pm_space, va, NBPG); + fdcache(pmap->pm_space, va, PAGE_SIZE); pdtlb(pmap->pm_space, va); if (wired && !(pte & PTE_PROT(TLB_WIRED)) == 0) @@ -1235,9 +1235,9 @@ pmap_kremove(va, size) } if (pte & PTE_PROT(TLB_EXECUTE)) - ficache(HPPA_SID_KERNEL, va, NBPG); + ficache(HPPA_SID_KERNEL, va, PAGE_SIZE); pitlb(HPPA_SID_KERNEL, va); - fdcache(HPPA_SID_KERNEL, va, NBPG); + fdcache(HPPA_SID_KERNEL, va, PAGE_SIZE); pdtlb(HPPA_SID_KERNEL, va); pmap_pte_set(pde, va, 0); |