提交 aeeafbfa 编写于 作者: B Benjamin Herrenschmidt

powerpc/smp: Increase vdso_data->processorCount, not just decrease it

Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 c56e5853
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册