summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-09 02:57:04 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-09 02:57:04 +0000
commit33db60b6ebbdbb0db8c411f47d309a2606bf97d6 (patch)
tree7912e1fc0940d30e250f367ccb1458ac15f79745 /sys/arch/alpha
parent7e57535bd8ca722b60f0d33f11ecdf0297f00856 (diff)
Ieeek. invalidate the pmap_l1pt_cache in pmap_growkernel.
How did this ever work?
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r--sys/arch/alpha/alpha/pmap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/alpha/alpha/pmap.c b/sys/arch/alpha/alpha/pmap.c
index 6986d5fe846..75cb7f6b902 100644
--- a/sys/arch/alpha/alpha/pmap.c
+++ b/sys/arch/alpha/alpha/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.21 2001/11/09 02:50:08 art Exp $ */
+/* $OpenBSD: pmap.c,v 1.22 2001/11/09 02:57:03 art Exp $ */
/* $NetBSD: pmap.c,v 1.154 2000/12/07 22:18:55 thorpej Exp $ */
/*-
@@ -3490,6 +3490,9 @@ pmap_growkernel(vaddr_t maxkvaddr)
va += ALPHA_L2SEG_SIZE;
}
+ /* Invalidate the L1 PT cache. */
+ pool_cache_invalidate(&pmap_l1pt_cache);
+
virtual_end = va;
simple_unlock(&pmap_growkernel_slock);