summaryrefslogtreecommitdiff
path: root/sys/kern/init_main.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-07 01:18:02 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-07 01:18:02 +0000
commitc1c5c105f41ad5a43d2d86df94c7b57a4e86d03f (patch)
treef35ef0cfc30ec497901dac2701302652e736c1f4 /sys/kern/init_main.c
parent0cf5ca3327d0f3f051ffeeedbbf725cdb3b5b201 (diff)
Add an alignment argument to uvm_map that specifies an alignment hint
for the virtual address.
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 25c2c8d4bb5..e41148c9f95 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: init_main.c,v 1.82 2001/11/06 19:53:20 miod Exp $ */
+/* $OpenBSD: init_main.c,v 1.83 2001/11/07 01:18:01 art Exp $ */
/* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */
/*
@@ -499,7 +499,7 @@ start_init(arg)
addr = USRSTACK - PAGE_SIZE;
#endif
if (uvm_map(&p->p_vmspace->vm_map, &addr, PAGE_SIZE,
- NULL, UVM_UNKNOWN_OFFSET,
+ NULL, UVM_UNKNOWN_OFFSET, 0,
UVM_MAPFLAG(UVM_PROT_ALL, UVM_PROT_ALL, UVM_INH_COPY,
UVM_ADV_NORMAL, UVM_FLAG_FIXED|UVM_FLAG_OVERLAY|UVM_FLAG_COPYONW))
!= KERN_SUCCESS)