diff options
author | Janne Johansson <jj@cvs.openbsd.org> | 2001-05-15 14:19:59 +0000 |
---|---|---|
committer | Janne Johansson <jj@cvs.openbsd.org> | 2001-05-15 14:19:59 +0000 |
commit | 7080ef16cbf41aba83b9479bed9725a1af0fc03b (patch) | |
tree | 61206cf93bc24532fd5967458205b36b6958cabf /sys/arch | |
parent | 1f60c8021cb23fd5c113d48e2c25b6238363fc32 (diff) |
Sync with NetBSD, different calculation of maxproc. From NetBSD via Aaron@.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amiga/amiga/pmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/amiga/amiga/pmap.c b/sys/arch/amiga/amiga/pmap.c index 5bc3b48f405..b2829290896 100644 --- a/sys/arch/amiga/amiga/pmap.c +++ b/sys/arch/amiga/amiga/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.29 2001/05/09 15:31:24 art Exp $ */ +/* $OpenBSD: pmap.c,v 1.30 2001/05/15 14:19:58 jj Exp $ */ /* $NetBSD: pmap.c,v 1.68 1999/06/19 19:44:09 is Exp $ */ /*- @@ -692,7 +692,7 @@ bogons: * Allocate the segment table map and the page table map. */ addr = amiga_uptbase; - if ((AMIGA_UPTMAXSIZE / AMIGA_MAX_PTSIZE) < maxproc) { + if ((AMIGA_UPTMAXSIZE / AMIGA_UPTSIZE) < maxproc) { s = AMIGA_UPTMAXSIZE; /* * XXX We don't want to hang when we run out of @@ -700,9 +700,9 @@ bogons: * will fail instead. Note that root could still raise * this value via sysctl(2). */ - maxproc = AMIGA_UPTMAXSIZE / AMIGA_MAX_PTSIZE; + maxproc = AMIGA_UPTMAXSIZE / AMIGA_UPTSIZE; } else - s = (maxproc * AMIGA_MAX_PTSIZE); + s = (maxproc * AMIGA_UPTSIZE); pt_map = uvm_km_suballoc(kernel_map, &addr, &addr2, s, VM_MAP_PAGEABLE, TRUE, &pt_map_store); |