aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/smp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index 54faff91b805..cbdbb14be4b0 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -551,6 +551,10 @@ void __devinit start_secondary(void *unused)
551 551
552 secondary_cpu_time_init(); 552 secondary_cpu_time_init();
553 553
554#ifdef CONFIG_PPC64
555 if (system_state == SYSTEM_RUNNING)
556 vdso_data->processorCount++;
557#endif
554 ipi_call_lock(); 558 ipi_call_lock();
555 notify_cpu_starting(cpu); 559 notify_cpu_starting(cpu);
556 set_cpu_online(cpu, true); 560 set_cpu_online(cpu, true);