diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2003-06-01 17:43:51 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2003-06-01 17:43:51 +0000 |
commit | 5ab68fb20b58b4d4e0cdb0cc9585be26e084df9f (patch) | |
tree | 36cbd248bae5d5d26716ea2c89aee61ca983db0d /sys/arch/sparc64 | |
parent | 173d01b7c1e9a5d7ba5a6c696a8019061dc41bda (diff) |
initialize minaddr before calling uvm_km_suballoc.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/sparc64/machdep.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index fe8ce73f892..1ad9bfae42f 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.59 2003/03/21 22:59:10 jason Exp $ */ +/* $OpenBSD: machdep.c,v 1.60 2003/06/01 17:43:50 art Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -339,8 +339,9 @@ cpu_startup() * Allocate a submap for exec arguments. This map effectively * limits the number of processes exec'ing at any time. */ - exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr, - 16*NCARGS, VM_MAP_PAGEABLE, FALSE, NULL); + minaddr = vm_map_min(kernel_map); + exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr, + 16*NCARGS, VM_MAP_PAGEABLE, FALSE, NULL); #ifdef DEBUG pmapdebug = opmapdebug; |