commit | 987dd2d4d465e80e00d6a0b16787a78aa75dd66a | [log] [tgz] |
---|---|---|
author | Alexey Starikovskiy <astarikovskiy@suse.de> | Thu Mar 27 23:54:06 2008 +0300 |
committer | Ingo Molnar <mingo@elte.hu> | Thu Apr 17 17:41:31 2008 +0200 |
tree | b603532fd2011d4995d9399988b101c7721dfd80 | |
parent | 2df297261903249f5ac2d3d14ededbda229397e2 [diff] [blame] |
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>
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index 4cc325e..c487bc9 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c
@@ -895,6 +895,10 @@ id, MAX_APICS); return; } + if (!enabled) { + ++disabled_cpus; + return; + } if (id == boot_cpu_physical_apicid) boot_cpu = 1;