diff options
| author | 2001-05-05 20:56:30 +0000 | |
|---|---|---|
| committer | 2001-05-05 20:56:30 +0000 | |
| commit | c7ba784cac11fbe085f76d5c638ea40c1b50d9ee (patch) | |
| tree | 0da527f75bd3e12fd96401a9bd1d7bee9b837666 /sys/uvm/uvm_unix.c | |
| parent | Synch with bsd.prog.mk. (diff) | |
| download | wireguard-openbsd-c7ba784cac11fbe085f76d5c638ea40c1b50d9ee.tar.xz wireguard-openbsd-c7ba784cac11fbe085f76d5c638ea40c1b50d9ee.zip | |
Get rid of CLSIZE and all related stuff.
CLSIZE -> 1
CLBYTES -> PAGE_SIZE
OLOFSET -> PAGE_MASK
etc.
At the same time some archs needed some cleaning in vmparam.h so that
goes in at the same time.
Diffstat (limited to 'sys/uvm/uvm_unix.c')
| -rw-r--r-- | sys/uvm/uvm_unix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_unix.c b/sys/uvm/uvm_unix.c index b4ae538b872..44ac0c01018 100644 --- a/sys/uvm/uvm_unix.c +++ b/sys/uvm/uvm_unix.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_unix.c,v 1.8 2001/01/29 02:07:50 niklas Exp $ */ +/* $OpenBSD: uvm_unix.c,v 1.9 2001/05/05 20:57:03 art Exp $ */ /* $NetBSD: uvm_unix.c,v 1.8 1999/03/25 18:48:56 mrg Exp $ */ /* @@ -155,9 +155,9 @@ uvm_grow(p, sp) * Really need to check vs limit and increment stack size if ok. */ #ifdef MACHINE_STACK_GROWS_UP - si = clrnd(btoc(sp - USRSTACK) - vm->vm_ssize); + si = btoc(sp - USRSTACK) - vm->vm_ssize; #else - si = clrnd(btoc(USRSTACK-sp) - vm->vm_ssize); + si = btoc(USRSTACK-sp) - vm->vm_ssize; #endif if (vm->vm_ssize + si > btoc(p->p_rlimit[RLIMIT_STACK].rlim_cur)) return (0); |
