x86: remove some ifdefs from native_init_IRQ()
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 9 Apr 2009 08:52:30 +0000 (11:52 +0300)
committerIngo Molnar <mingo@elte.hu>
Fri, 10 Apr 2009 12:35:59 +0000 (14:35 +0200)
Impact: cleanup

Reviewed-by Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/irqinit.c

index f2c60a59f474ef4982618b8c6e0770b5be7a9071..626977200a584c9b89f672a6c9d9e41c5c39443b 100644 (file)
@@ -205,7 +205,6 @@ static void __init apic_intr_init(void)
 #endif
 }
 
-#ifdef CONFIG_X86_32
 /**
  * x86_quirk_pre_intr_init - initialisation prior to setting up interrupt vectors
  *
@@ -217,24 +216,21 @@ static void __init apic_intr_init(void)
  **/
 static void __init x86_quirk_pre_intr_init(void)
 {
+#ifdef CONFIG_X86_32
        if (x86_quirks->arch_pre_intr_init) {
                if (x86_quirks->arch_pre_intr_init())
                        return;
        }
+#endif
        init_ISA_irqs();
 }
-#endif
 
 void __init native_init_IRQ(void)
 {
        int i;
 
-#ifdef CONFIG_X86_32
        /* Execute any quirks before the call gates are initialised: */
        x86_quirk_pre_intr_init();
-#else
-       init_ISA_irqs();
-#endif
 
        /*
         * Cover the whole vector space, no vector can escape