summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-08-11 19:17:18 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-08-11 19:17:18 +0000
commit45443497d1b1837b0f507d85565636f50fa5cecf (patch)
treee668bde68e4fb4b463aba3fd31dd16875bb9ddb7 /sys/arch/luna88k
parent71991877bea22a82789b29c8995baf0589fd2be4 (diff)
Do not bother initializing bufpages in the md code if the computation is
exactly the same the mi could will use if bufinit() is invoked with bufpages == 0.
Diffstat (limited to 'sys/arch/luna88k')
-rw-r--r--sys/arch/luna88k/luna88k/machdep.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/luna88k/luna88k/machdep.c b/sys/arch/luna88k/luna88k/machdep.c
index 2726d4fa5bc..6565aa6bdf1 100644
--- a/sys/arch/luna88k/luna88k/machdep.c
+++ b/sys/arch/luna88k/luna88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.67 2009/08/11 18:46:32 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.68 2009/08/11 19:17:16 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -448,13 +448,6 @@ cpu_startup()
panic("obiova %lx: OBIO not free", obiova);
/*
- * Determine how many buffers to allocate.
- * We allocate bufcachepercent% of memory for buffer space.
- */
- if (bufpages == 0)
- bufpages = physmem * bufcachepercent / 100;
-
- /*
* Allocate a submap for exec arguments. This map effectively
* limits the number of processes exec'ing at any time.
*/