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/mvme88k | |
parent | d5f4a1c74d5f33bfe74ffd97e7c09099c29c23a4 (diff) |
Make sure the minaddr hint for uvm_km_suballoc() calls is always initialized.
ok pedro@
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index f703d099263..b9315357892 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.189 2007/05/26 20:26:51 pedro Exp $ */ +/* $OpenBSD: machdep.c,v 1.190 2007/05/27 17:31:57 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -394,6 +394,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); |