From: Glauber Costa Date: Thu, 29 May 2008 00:09:53 +0000 (-0700) Subject: x86: clearing io_apic harmless for x86_64 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f385d1ddd0952e01a968bfa5512378ad23de6df;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git x86: clearing io_apic harmless for x86_64 so remove ifdef. Signed-off-by: Glauber Costa Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 2a0d39f3f2f1..a74a261c5626 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1052,9 +1052,8 @@ static __init void disable_smp(void) { cpu_present_map = cpumask_of_cpu(0); cpu_possible_map = cpumask_of_cpu(0); -#ifdef CONFIG_X86_32 smpboot_clear_io_apic_irqs(); -#endif + if (smp_found_config) physid_set_mask_of_physid(boot_cpu_physical_apicid, &phys_cpu_present_map); else