Commit 8ccab29c authored by Alexey Starikovskiy's avatar Alexey Starikovskiy Committed by Ingo Molnar

x86: don't call MP_processor_info for disabled cpu (64bit)

Signed-off-by: default avatarAlexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 86c9835b
......@@ -678,6 +678,10 @@ void __cpuinit mp_register_lapic(u8 id, u8 enabled)
struct mpc_config_processor processor;
int boot_cpu = 0;
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