summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-10-24 19:37:01 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-10-24 19:37:01 +0000
commitc6511c1c40ca3455ab5284eb41a64494a746cd59 (patch)
treef90e0f9fbee8e2291728a8c6d0a0be1cd6f68a22 /sys
parentba92ca5aba61a89ec3f29dc85c47a8548a86e5b4 (diff)
Add missing pmap_update(9) after pmap_kenter_pa(9); art@ ok.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sparc/sparc/machdep.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c
index 25fbfba5944..c373ec66c75 100644
--- a/sys/arch/sparc/sparc/machdep.c
+++ b/sys/arch/sparc/sparc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.85 2002/08/12 16:35:40 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.86 2002/10/24 19:37:00 fgsch Exp $ */
/* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */
/*
@@ -250,6 +250,8 @@ cpu_startup()
curbufsize -= PAGE_SIZE;
}
}
+ pmap_update(pmap_kernel());
+
/*
* Allocate a submap for exec arguments. This map effectively
* limits the number of processes exec'ing at any time.
@@ -995,6 +997,7 @@ mapdev(phys, virt, offset, size)
va += PAGE_SIZE;
pa += PAGE_SIZE;
} while ((size -= PAGE_SIZE) > 0);
+ pmap_update(pmap_kernel());
return (ret);
}