diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2007-05-12 20:03:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2007-05-12 20:03:26 +0000 |
commit | 2d53e75cf5199a1b3879c54ce8400ecf9eb9be82 (patch) | |
tree | 7ccca18235ca8b0f4023572c790ba13cc9ed870a /sys/arch/mvme88k | |
parent | 35841141963bbdf6e5b211ae01a1ebc91413509e (diff) |
Increment ncpus when hatching a secondary processor.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 3 |
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); |