summaryrefslogtreecommitdiff
path: root/sys/arch/vax
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/vax
parentd5f4a1c74d5f33bfe74ffd97e7c09099c29c23a4 (diff)
Make sure the minaddr hint for uvm_km_suballoc() calls is always initialized.
ok pedro@
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/vax/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/vax/vax/machdep.c b/sys/arch/vax/vax/machdep.c
index e545a325125..19b880d9196 100644
--- a/sys/arch/vax/vax/machdep.c
+++ b/sys/arch/vax/vax/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.89 2007/05/26 20:26:51 pedro Exp $ */
+/* $OpenBSD: machdep.c,v 1.90 2007/05/27 17:31:57 miod Exp $ */
/* $NetBSD: machdep.c,v 1.108 2000/09/13 15:00:23 thorpej Exp $ */
/*
@@ -224,6 +224,7 @@ cpu_startup()
* 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);