summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/mips/mips/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c
index e3b7daf..32c0f92 100644
--- a/sys/mips/mips/pmap.c
+++ b/sys/mips/mips/pmap.c
@@ -251,11 +251,11 @@ caddr_t virtual_sys_start = (caddr_t)0;
#define PMAP_LMEM_UNMAP() \
pte = pmap_pte(kernel_pmap, sysm->base); \
*pte = PTE_G; \
- pmap_invalidate_page(kernel_pmap, sysm->base); \
+ pmap_TLB_invalidate_kernel(sysm->base); \
sysm->valid1 = 0; \
pte = pmap_pte(kernel_pmap, sysm->base + PAGE_SIZE); \
*pte = PTE_G; \
- pmap_invalidate_page(kernel_pmap, sysm->base + PAGE_SIZE); \
+ pmap_TLB_invalidate_kernel(sysm->base + PAGE_SIZE); \
sysm->valid2 = 0; \
sched_unpin(); \
intr_restore(intr); \
OpenPOWER on IntegriCloud