summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-20 03:01:01 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-12-20 03:01:01 +0000
commit1278b524d3b7741b8991b790ae254bf096a73f85 (patch)
treecec57cbbdd806d9d48fd2cf26533a5e307400ac1
parentf79525cb4d1159f78e3ff3b9e7a8ddc1a37568af (diff)
user-defined stacks check is the same for grownups as for growndowns
-rw-r--r--sys/uvm/uvm_unix.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c
index ec01e186ed0..50311c3b11b 100644
--- a/sys/uvm/uvm_unix.c
+++ b/sys/uvm/uvm_unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_unix.c,v 1.23 2002/12/19 00:57:07 mickey Exp $ */
+/* $OpenBSD: uvm_unix.c,v 1.24 2002/12/20 03:01:00 mickey Exp $ */
/* $NetBSD: uvm_unix.c,v 1.18 2000/09/13 15:00:25 thorpej Exp $ */
/*
@@ -127,11 +127,7 @@ uvm_grow(p, sp)
/*
* For user defined stacks (from sendsig).
*/
-#ifdef MACHINE_STACK_GROWS_UP
- if (sp > (vaddr_t)vm->vm_minsaddr)
-#else
if (sp < (vaddr_t)vm->vm_maxsaddr)
-#endif
return (0);
/*