summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2003-06-01 20:19:33 +0000
committerdrahn <drahn@openbsd.org>2003-06-01 20:19:33 +0000
commitca3affaf8faba980987669a5dd8b797333a6e1e5 (patch)
tree8332d0bdd81f21529c714f41cffd96fb02f1795e
parentKingston KNE-PCM/x support. (diff)
downloadwireguard-openbsd-ca3affaf8faba980987669a5dd8b797333a6e1e5.tar.xz
wireguard-openbsd-ca3affaf8faba980987669a5dd8b797333a6e1e5.zip
Initialize minaddr to a sane value. at request of art.
-rw-r--r--sys/arch/macppc/macppc/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index 64a31dc79e7..dfd50296558 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.49 2003/04/06 18:54:19 ho Exp $ */
+/* $OpenBSD: machdep.c,v 1.50 2003/06/01 20:19:33 drahn Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -591,6 +591,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);