summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlauber Costa <gcosta@redhat.com>2008-05-29 00:09:53 (GMT)
committerIngo Molnar <mingo@elte.hu>2008-07-08 10:48:19 (GMT)
commit0f385d1ddd0952e01a968bfa5512378ad23de6df (patch)
tree70ef36db7c54a9cc045fe60c2f63e53716fdf405
parent3e9704739daf46a8ba6593d749c67b5f7cd633d2 (diff)
downloadlinux-0f385d1ddd0952e01a968bfa5512378ad23de6df.tar.xz
x86: clearing io_apic harmless for x86_64
so remove ifdef. Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--arch/x86/kernel/smpboot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 2a0d39f..a74a261 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