From 1b7ddb41b21f0c8452473165039535afb6d4c81b Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 19 Dec 2002 00:57:08 +0000 Subject: simplify stack grownups (growndowns are not touched) --- sys/kern/init_main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sys/kern/init_main.c') diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index b0da2724f27..709b1d1cf21 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.97 2002/11/22 16:47:28 art Exp $ */ +/* $OpenBSD: init_main.c,v 1.98 2002/12/19 00:57:07 mickey Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -505,11 +505,7 @@ start_init(arg) UVM_MAPFLAG(UVM_PROT_ALL, UVM_PROT_ALL, UVM_INH_COPY, UVM_ADV_NORMAL, UVM_FLAG_FIXED|UVM_FLAG_OVERLAY|UVM_FLAG_COPYONW))) panic("init: couldn't allocate argument space"); -#ifdef MACHINE_STACK_GROWS_UP - p->p_vmspace->vm_maxsaddr = (caddr_t)addr + PAGE_SIZE; -#else p->p_vmspace->vm_maxsaddr = (caddr_t)addr; -#endif for (pathp = &initpaths[0]; (path = *pathp) != NULL; pathp++) { #ifdef MACHINE_STACK_GROWS_UP -- cgit v1.2.3