diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2003-06-02 00:01:28 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2003-06-02 00:01:28 +0000 |
commit | 3eb8c48ed146ac40d66d37aaf23ec30a47b8305d (patch) | |
tree | c0882b271b940681df86b8601bf3de39dc76ef47 /sys/arch/sparc | |
parent | 7584f9aa1df966eb0167adef51091587ac51e85f (diff) |
Initialize the hint for uvm_km_suballoc.
Diffstat (limited to 'sys/arch/sparc')
-rw-r--r-- | sys/arch/sparc/sparc/machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index de8a1c11976..e1437869dba 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.91 2003/01/09 22:27:10 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.92 2003/06/02 00:01:27 art Exp $ */ /* $NetBSD: machdep.c,v 1.85 1997/09/12 08:55:02 pk Exp $ */ /* @@ -250,6 +250,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); |