summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r--sys/arch/octeon/octeon/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/octeon/octeon/machdep.c b/sys/arch/octeon/octeon/machdep.c
index 00f2a7cac34..e60a6f0f284 100644
--- a/sys/arch/octeon/octeon/machdep.c
+++ b/sys/arch/octeon/octeon/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.77 2016/10/26 13:42:54 visa Exp $ */
+/* $OpenBSD: machdep.c,v 1.78 2016/10/27 13:19:27 visa Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
@@ -859,6 +859,7 @@ hw_cpu_hatch(struct cpu_info *ci)
printf("cpu%lu launched\n", cpu_number());
(*md_startclock)(ci);
+ ncpus++;
cpuset_add(&cpus_running, ci);
octeon_intr_init();
mips64_ipi_init();