mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
powerpc/smp: Increase vdso_data->processorCount, not just decrease it
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
c56e58537d
commit
aeeafbfa7a
1 changed files with 4 additions and 0 deletions
|
|
@ -551,6 +551,10 @@ void __devinit start_secondary(void *unused)
|
|||
|
||||
secondary_cpu_time_init();
|
||||
|
||||
#ifdef CONFIG_PPC64
|
||||
if (system_state == SYSTEM_RUNNING)
|
||||
vdso_data->processorCount++;
|
||||
#endif
|
||||
ipi_call_lock();
|
||||
notify_cpu_starting(cpu);
|
||||
set_cpu_online(cpu, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue