diff options
Diffstat (limited to 'arch')
-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 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; |