summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/io_apic.c
diff options
context:
space:
mode:
authorYinghai Lu2009-02-15 08:57:28 +0100
committerIngo Molnar2009-02-15 13:23:46 +0100
commit88d0f550d71493cd975a11a03c166211b2f3bd32 (patch)
tree2aadb97a1ac90358d9c38cd99611a3f32d4da3dd /arch/x86/kernel/io_apic.c
parentMerge commit 'v2.6.29-rc5' into x86/apic (diff)
downloadkernel-qcow2-linux-88d0f550d71493cd975a11a03c166211b2f3bd32.tar.gz
kernel-qcow2-linux-88d0f550d71493cd975a11a03c166211b2f3bd32.tar.xz
kernel-qcow2-linux-88d0f550d71493cd975a11a03c166211b2f3bd32.zip
x86: make 32bit to call enable_IO_APIC early like 64bit
Impact: cleanup So we remove some #ifdefs. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/io_apic.c')
-rw-r--r--arch/x86/kernel/io_apic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
index 7248ca11bdcd..0b7cde3da48b 100644
--- a/arch/x86/kernel/io_apic.c
+++ b/arch/x86/kernel/io_apic.c
@@ -3057,13 +3057,9 @@ out:
void __init setup_IO_APIC(void)
{
-#ifdef CONFIG_X86_32
- enable_IO_APIC();
-#else
/*
* calling enable_IO_APIC() is moved to setup_local_APIC for BP
*/
-#endif
io_apic_irqs = ~PIC_IRQS;