summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-12-04 23:22:43 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-12-04 23:22:43 +0000
commit2d6ebc6b1044ef771b2b25c09c2abffe0c0a0d3d (patch)
treef85c4269fcfa3a0ec1575186dfcbcbbb1ebaf8d7 /sys/kern/init_main.c
parentf1bec1965343db9a80a80e7ed55ee2fe5dd36253 (diff)
Yet another sync to NetBSD uvm.
Today we add a pmap argument to pmap_update() and allocate map entries for kernel_map from kmem_map instead of using the static entries. This should get rid of MAX_KMAPENT panics. Also some uvm_loan problems are fixed.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 4324fb9ece5..d1eeb637489 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.87 2001/11/28 13:47:39 art Exp $ */
+/* $OpenBSD: init_main.c,v 1.88 2001/12/04 23:22:42 art Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -297,7 +297,7 @@ main(framep)
/* Allocate a prototype map so we have something to fork. */
uvmspace_init(&vmspace0, pmap_kernel(), round_page(VM_MIN_ADDRESS),
- trunc_page(VM_MAX_ADDRESS), TRUE);
+ trunc_page(VM_MAX_ADDRESS));
p->p_vmspace = &vmspace0;
p->p_addr = proc0paddr; /* XXX */