diff options
Diffstat (limited to 'arch/x86/kernel/smpboot.c')
-rw-r--r-- | arch/x86/kernel/smpboot.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index ae0a7a200421..d3ad4e09455b 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c | |||
@@ -1090,10 +1090,9 @@ static __init void disable_smp(void) | |||
1090 | smpboot_clear_io_apic_irqs(); | 1090 | smpboot_clear_io_apic_irqs(); |
1091 | #endif | 1091 | #endif |
1092 | if (smp_found_config) | 1092 | if (smp_found_config) |
1093 | phys_cpu_present_map = | 1093 | physid_set_mask_of_physid(boot_cpu_physical_apicid, &phys_cpu_present_map); |
1094 | physid_mask_of_physid(boot_cpu_physical_apicid); | ||
1095 | else | 1094 | else |
1096 | phys_cpu_present_map = physid_mask_of_physid(0); | 1095 | physid_set_mask_of_physid(0, &phys_cpu_present_map); |
1097 | map_cpu_to_logical_apicid(); | 1096 | map_cpu_to_logical_apicid(); |
1098 | cpu_set(0, per_cpu(cpu_sibling_map, 0)); | 1097 | cpu_set(0, per_cpu(cpu_sibling_map, 0)); |
1099 | cpu_set(0, per_cpu(cpu_core_map, 0)); | 1098 | cpu_set(0, per_cpu(cpu_core_map, 0)); |