Commit abdb5a57 authored by Pekka Enberg's avatar Pekka Enberg Committed by Ingo Molnar

x86: remove some ifdefs from native_init_IRQ()

Impact: cleanup

Reviewed-by Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: default avatarPekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent ac3048df
...@@ -205,7 +205,6 @@ static void __init apic_intr_init(void) ...@@ -205,7 +205,6 @@ static void __init apic_intr_init(void)
#endif #endif
} }
#ifdef CONFIG_X86_32
/** /**
* x86_quirk_pre_intr_init - initialisation prior to setting up interrupt vectors * x86_quirk_pre_intr_init - initialisation prior to setting up interrupt vectors
* *
...@@ -217,24 +216,21 @@ static void __init apic_intr_init(void) ...@@ -217,24 +216,21 @@ static void __init apic_intr_init(void)
**/ **/
static void __init x86_quirk_pre_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) {
if (x86_quirks->arch_pre_intr_init()) if (x86_quirks->arch_pre_intr_init())
return; return;
} }
#endif
init_ISA_irqs(); init_ISA_irqs();
} }
#endif
void __init native_init_IRQ(void) void __init native_init_IRQ(void)
{ {
int i; int i;
#ifdef CONFIG_X86_32
/* Execute any quirks before the call gates are initialised: */ /* Execute any quirks before the call gates are initialised: */
x86_quirk_pre_intr_init(); x86_quirk_pre_intr_init();
#else
init_ISA_irqs();
#endif
/* /*
* Cover the whole vector space, no vector can escape * Cover the whole vector space, no vector can escape
......
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