diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-05-27 17:31:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-05-27 17:31:58 +0000 |
commit | 153fe111d253f539964bcb2c2acb0f342c905aa8 (patch) | |
tree | e892a9713ecbea715a47742552f67005a60aa2bd /sys/arch/luna88k | |
parent | d5f4a1c74d5f33bfe74ffd97e7c09099c29c23a4 (diff) |
Make sure the minaddr hint for uvm_km_suballoc() calls is always initialized.
ok pedro@
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r-- | sys/arch/luna88k/luna88k/machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c index 6932ee9432e..0740740fc85 100644 --- a/sys/arch/luna88k/luna88k/machdep.c +++ b/sys/arch/luna88k/luna88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.41 2007/05/26 20:26:50 pedro Exp $ */ +/* $OpenBSD: machdep.c,v 1.42 2007/05/27 17:31:56 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -475,6 +475,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); |