Commit 0f385d1d authored by Glauber Costa's avatar Glauber Costa Committed by Ingo Molnar

x86: clearing io_apic harmless for x86_64

so remove ifdef.
Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 3e970473
...@@ -1052,9 +1052,8 @@ static __init void disable_smp(void) ...@@ -1052,9 +1052,8 @@ static __init void disable_smp(void)
{ {
cpu_present_map = cpumask_of_cpu(0); cpu_present_map = cpumask_of_cpu(0);
cpu_possible_map = cpumask_of_cpu(0); cpu_possible_map = cpumask_of_cpu(0);
#ifdef CONFIG_X86_32
smpboot_clear_io_apic_irqs(); smpboot_clear_io_apic_irqs();
#endif
if (smp_found_config) if (smp_found_config)
physid_set_mask_of_physid(boot_cpu_physical_apicid, &phys_cpu_present_map); physid_set_mask_of_physid(boot_cpu_physical_apicid, &phys_cpu_present_map);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment