summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/smp.h
diff options
context:
space:
mode:
authorMatt Evans <matt@ozlabs.org>2011-05-25 18:09:12 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-06-17 16:19:51 +1000
commit7ac87abb8166b99584149fcfb2efef5773a078e9 (patch)
tree626ccec24e00720ada0bd8f967922d935f0eeca8 /arch/powerpc/include/asm/smp.h
parent32d206eb5637d8cf73d9c70f7680de2a7193ce8b (diff)
powerpc: Fix early boot accounting of CPUs
smp_release_cpus() waits for all cpus (including the bootcpu) due to an off-by-one count on boot_cpu_count (which is all CPUs). This patch replaces that with spinning_secondaries (which is all secondary CPUs). Signed-off-by: Matt Evans <matt@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/smp.h')
-rw-r--r--arch/powerpc/include/asm/smp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc/include/asm/smp.h
index 11eb404b560..b2a4c2d0b7f 100644
--- a/arch/powerpc/include/asm/smp.h
+++ b/arch/powerpc/include/asm/smp.h
@@ -30,7 +30,7 @@
#include <asm/percpu.h>
extern int boot_cpuid;
-extern int boot_cpu_count;
+extern int spinning_secondaries;
extern void cpu_die(void);