summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-05-12 20:03:26 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-05-12 20:03:26 +0000
commit2d53e75cf5199a1b3879c54ce8400ecf9eb9be82 (patch)
tree7ccca18235ca8b0f4023572c790ba13cc9ed870a /sys/arch/mvme88k
parent35841141963bbdf6e5b211ae01a1ebc91413509e (diff)
Increment ncpus when hatching a secondary processor.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index 3bdd8849c79..82764f36487 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.185 2006/11/18 22:58:28 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.186 2007/05/12 20:03:25 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -791,6 +791,7 @@ secondary_main()
struct cpu_info *ci = curcpu();
cpu_configuration_print(0);
+ ncpus++;
__cpu_simple_unlock(&cpu_mutex);
microuptime(&ci->ci_schedstate.spc_runtime);