aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-03-27 16:54:06 -0400
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:41:31 -0400
commit987dd2d4d465e80e00d6a0b16787a78aa75dd66a (patch)
treeb603532fd2011d4995d9399988b101c7721dfd80 /arch
parent2df297261903249f5ac2d3d14ededbda229397e2 (diff)
x86: don't call MP_processor_info for disabled cpu
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/mpparse_32.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c
index 4cc325edc70d..c487bc99d7a3 100644
--- a/arch/x86/kernel/mpparse_32.c
+++ b/arch/x86/kernel/mpparse_32.c
@@ -895,6 +895,10 @@ void __cpuinit mp_register_lapic (u8 id, u8 enabled)
895 id, MAX_APICS); 895 id, MAX_APICS);
896 return; 896 return;
897 } 897 }
898 if (!enabled) {
899 ++disabled_cpus;
900 return;
901 }
898 902
899 if (id == boot_cpu_physical_apicid) 903 if (id == boot_cpu_physical_apicid)
900 boot_cpu = 1; 904 boot_cpu = 1;