diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-04-09 04:52:30 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-10 08:35:59 -0400 |
commit | abdb5a5713330e17dfe91ab0d3e29c4744d95162 (patch) | |
tree | b8bf7814bdd4aa5c3d65d16457a6994c854ad134 | |
parent | ac3048dfd4740becf8d768844cf47ebee363c9f8 (diff) |
x86: remove some ifdefs from native_init_IRQ()
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>
-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 |