diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:24:13 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 06:24:13 -0400 |
commit | e3ae0acf59244ecf5b023ec99cef4b6b29d649bc (patch) | |
tree | 02a8bfdcab61677430ecfe04e9e44e1007c35f0e /arch/x86/kernel/smpboot.c | |
parent | 4b62ac9a2b859f932afd5625362c927111b7dd9b (diff) | |
parent | e7eb8726d0e144f0925972c4ecee945e91a42753 (diff) |
Merge branch 'x86/uv' into x86/devel
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)); |