Commit 987dd2d4 authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Ingo Molnar

x86: don't call MP_processor_info for disabled cpu

Signed-off-by: default avatarAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment