summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-04-06 23:41:03 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-04-06 23:41:03 +0000
commite69801569699d1e68b3cbce8f184c38ef13b65e0 (patch)
tree99c6023c12504a7de3a78aff9da97986f643f3b1 /sys/kern/init_main.c
parent48c3bdf684b8ff05ae8aaaea6ca9487af77d34f5 (diff)
Get rid of vm_pmap from struct vmspace.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r--sys/kern/init_main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 7b53d5d6a43..efaa53b9878 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.61 2001/04/02 21:43:11 niklas Exp $ */
+/* $OpenBSD: init_main.c,v 1.62 2001/04/06 23:41:02 art Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -297,10 +297,9 @@ main(framep)
#else
p->p_vmspace = &vmspace0;
vmspace0.vm_refcnt = 1;
- pmap_pinit(&vmspace0.vm_pmap);
+ vmspace0.vm_map.pmap = pmap_create(0);
vm_map_init(&p->p_vmspace->vm_map, round_page(VM_MIN_ADDRESS),
trunc_page(VM_MAX_ADDRESS), TRUE);
- vmspace0.vm_map.pmap = &vmspace0.vm_pmap;
#endif /* UVM */
p->p_addr = proc0paddr; /* XXX */