diff options
author | Alexey Starikovskiy <astarikovskiy@suse.de> | 2008-03-27 23:54:06 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:41:31 +0200 |
commit | 987dd2d4d465e80e00d6a0b16787a78aa75dd66a (patch) | |
tree | b603532fd2011d4995d9399988b101c7721dfd80 /arch/x86/kernel/mpparse_32.c | |
parent | 2df297261903249f5ac2d3d14ededbda229397e2 (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/x86/kernel/mpparse_32.c')
-rw-r--r-- | arch/x86/kernel/mpparse_32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index 4cc325edc70..c487bc99d7a 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) id, MAX_APICS); return; } + if (!enabled) { + ++disabled_cpus; + return; + } if (id == boot_cpu_physical_apicid) boot_cpu = 1; |