提交 987dd2d4 编写于 作者: A Alexey Starikovskiy 提交者: Ingo Molnar

x86: don't call MP_processor_info for disabled cpu

Signed-off-by: NAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 2df29726
......@@ -895,6 +895,10 @@ void __cpuinit mp_register_lapic (u8 id, u8 enabled)
id, MAX_APICS);
return;
}
if (!enabled) {
++disabled_cpus;
return;
}
if (id == boot_cpu_physical_apicid)
boot_cpu = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册