diff options
author | 2002-12-20 03:01:00 +0000 | |
---|---|---|
committer | 2002-12-20 03:01:00 +0000 | |
commit | aff5c31a6ff96634d0028e4320708630fe6cfa40 (patch) | |
tree | 6cd422c77a201eb3e25cd1a25020fdd3ec865641 | |
parent | do not compile what we already get from libkern (size does not matter) (diff) | |
download | wireguard-openbsd-aff5c31a6ff96634d0028e4320708630fe6cfa40.tar.xz wireguard-openbsd-aff5c31a6ff96634d0028e4320708630fe6cfa40.zip |
user-defined stacks check is the same for grownups as for growndowns
-rw-r--r-- | sys/uvm/uvm_unix.c | 6 |
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); /* |