summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1999-07-26 12:14:00 +0000
committerkato <kato@FreeBSD.org>1999-07-26 12:14:00 +0000
commitc75eae3a3e2b67209475016b47c6d8443dff1516 (patch)
tree649edfe8fc8ffb22045958818033a3222f01b883 /sys/pc98
parent694799ed1d3f32ecd9bc0c9ac2a4f32541d3fb8f (diff)
downloadFreeBSD-src-c75eae3a3e2b67209475016b47c6d8443dff1516.zip
FreeBSD-src-c75eae3a3e2b67209475016b47c6d8443dff1516.tar.gz
Sync with sys/i386/i386/machdep.c revision 1.356.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/i386/machdep.c8
-rw-r--r--sys/pc98/pc98/machdep.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index 690fdcb..ebea886 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.125 1999/07/08 12:48:53 kato Exp $
+ * $Id: machdep.c,v 1.126 1999/07/09 12:51:11 kato Exp $
*/
#include "apm.h"
@@ -359,10 +359,10 @@ again:
if (nbuf == 0) {
nbuf = 30;
- if( physmem > 1024)
+ if (physmem > 1024)
nbuf += min((physmem - 1024) / 8, 2048);
- if( physmem > 65536)
- nbuf += (physmem - 65536) / 20;
+ if (physmem > 16384)
+ nbuf += (physmem - 16384) / 20;
}
nswbuf = max(min(nbuf/4, 256), 16);
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index 690fdcb..ebea886 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.125 1999/07/08 12:48:53 kato Exp $
+ * $Id: machdep.c,v 1.126 1999/07/09 12:51:11 kato Exp $
*/
#include "apm.h"
@@ -359,10 +359,10 @@ again:
if (nbuf == 0) {
nbuf = 30;
- if( physmem > 1024)
+ if (physmem > 1024)
nbuf += min((physmem - 1024) / 8, 2048);
- if( physmem > 65536)
- nbuf += (physmem - 65536) / 20;
+ if (physmem > 16384)
+ nbuf += (physmem - 16384) / 20;
}
nswbuf = max(min(nbuf/4, 256), 16);
OpenPOWER on IntegriCloud