Skip to content

Commit

Permalink
x86: don't call MP_processor_info for disabled cpu
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Alexey Starikovskiy authored and Ingo Molnar committed Apr 17, 2008
1 parent 2df2972 commit 987dd2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/x86/kernel/mpparse_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 987dd2d

Please sign in to comment.