summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-09-06 19:43:01 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-09-06 19:43:01 +0000
commit10fdcada80a73449061f321c5127a712a7706a4a (patch)
tree00417ffaf0d95084b0677d929e3a28f76d0d9492 /sys
parentf7fda138629223fd5100ede67dc2e38d1ae5187f (diff)
Initialize max_cpus for 88110-based systems (i.e. 197 boards). Makes pmap
so much happy.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mvme88k/mvme88k/m88110.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/mvme88k/m88110.c b/sys/arch/mvme88k/mvme88k/m88110.c
index 532879a8880..df6ee5d1929 100644
--- a/sys/arch/mvme88k/mvme88k/m88110.c
+++ b/sys/arch/mvme88k/mvme88k/m88110.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: m88110.c,v 1.21 2005/04/30 16:42:37 miod Exp $ */
+/* $OpenBSD: m88110.c,v 1.22 2005/09/06 19:43:00 miod Exp $ */
/*
* Copyright (c) 1998 Steve Murphree, Jr.
* All rights reserved.
@@ -189,6 +189,7 @@ void
m88110_setup_board_config(void)
{
/* we could print something here... */
+ max_cpus = 1;
cpu_sets[0] = 1; /* This cpu installed... */
}