summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-05-27 17:31:58 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-05-27 17:31:58 +0000
commit153fe111d253f539964bcb2c2acb0f342c905aa8 (patch)
treee892a9713ecbea715a47742552f67005a60aa2bd /sys/arch/mac68k
parentd5f4a1c74d5f33bfe74ffd97e7c09099c29c23a4 (diff)
Make sure the minaddr hint for uvm_km_suballoc() calls is always initialized.
ok pedro@
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index 02e1ebc0128..894a958c419 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.138 2007/05/26 20:26:50 pedro Exp $ */
+/* $OpenBSD: machdep.c,v 1.139 2007/05/27 17:31:56 miod Exp $ */
/* $NetBSD: machdep.c,v 1.207 1998/07/08 04:39:34 thorpej Exp $ */
/*
@@ -428,6 +428,7 @@ cpu_startup(void)
* Allocate a submap for exec arguments. This map effectively
* limits the number of processes exec'ing at any time.
*/
+ minaddr = vm_map_min(kernel_map);
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16 * NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);