diff options
-rw-r--r-- | arch/x86/kernel/irqinit.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/x86/kernel/irqinit.c b/arch/x86/kernel/irqinit.c index f2c60a59f474..626977200a58 100644 --- a/arch/x86/kernel/irqinit.c +++ b/arch/x86/kernel/irqinit.c | |||
@@ -205,7 +205,6 @@ static void __init apic_intr_init(void) | |||
205 | #endif | 205 | #endif |
206 | } | 206 | } |
207 | 207 | ||
208 | #ifdef CONFIG_X86_32 | ||
209 | /** | 208 | /** |
210 | * x86_quirk_pre_intr_init - initialisation prior to setting up interrupt vectors | 209 | * x86_quirk_pre_intr_init - initialisation prior to setting up interrupt vectors |
211 | * | 210 | * |
@@ -217,24 +216,21 @@ static void __init apic_intr_init(void) | |||
217 | **/ | 216 | **/ |
218 | static void __init x86_quirk_pre_intr_init(void) | 217 | static void __init x86_quirk_pre_intr_init(void) |
219 | { | 218 | { |
219 | #ifdef CONFIG_X86_32 | ||
220 | if (x86_quirks->arch_pre_intr_init) { | 220 | if (x86_quirks->arch_pre_intr_init) { |
221 | if (x86_quirks->arch_pre_intr_init()) | 221 | if (x86_quirks->arch_pre_intr_init()) |
222 | return; | 222 | return; |
223 | } | 223 | } |
224 | #endif | ||
224 | init_ISA_irqs(); | 225 | init_ISA_irqs(); |
225 | } | 226 | } |
226 | #endif | ||
227 | 227 | ||
228 | void __init native_init_IRQ(void) | 228 | void __init native_init_IRQ(void) |
229 | { | 229 | { |
230 | int i; | 230 | int i; |
231 | 231 | ||
232 | #ifdef CONFIG_X86_32 | ||
233 | /* Execute any quirks before the call gates are initialised: */ | 232 | /* Execute any quirks before the call gates are initialised: */ |
234 | x86_quirk_pre_intr_init(); | 233 | x86_quirk_pre_intr_init(); |
235 | #else | ||
236 | init_ISA_irqs(); | ||
237 | #endif | ||
238 | 234 | ||
239 | /* | 235 | /* |
240 | * Cover the whole vector space, no vector can escape | 236 | * Cover the whole vector space, no vector can escape |