diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2009-04-09 11:52:23 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-10 14:35:55 +0200 |
commit | b0096bb0b640d0a7713618b3472fd0f4adf30a96 (patch) | |
tree | 3c2d1114307e8ad63bc5a4831b993bda7326492f /arch/x86/kernel/irqinit_64.c | |
parent | d3496c85cae22fb7713af6ed542a6aeae8ee4210 (diff) | |
download | blackbird-op-linux-b0096bb0b640d0a7713618b3472fd0f4adf30a96.tar.gz blackbird-op-linux-b0096bb0b640d0a7713618b3472fd0f4adf30a96.zip |
x86: unify smp_intr_init() in irqinit_{32,64}.h
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>
Diffstat (limited to 'arch/x86/kernel/irqinit_64.c')
-rw-r--r-- | arch/x86/kernel/irqinit_64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/irqinit_64.c b/arch/x86/kernel/irqinit_64.c index 1c8858bb27f2..9e7c57dc79e6 100644 --- a/arch/x86/kernel/irqinit_64.c +++ b/arch/x86/kernel/irqinit_64.c @@ -107,6 +107,7 @@ void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ"))); static void __init smp_intr_init(void) { #ifdef CONFIG_SMP +#if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC) /* * The reschedule interrupt is a CPU-to-CPU reschedule-helper * IPI, driven by wakeup. @@ -134,6 +135,7 @@ static void __init smp_intr_init(void) set_intr_gate(IRQ_MOVE_CLEANUP_VECTOR, irq_move_cleanup_interrupt); set_bit(IRQ_MOVE_CLEANUP_VECTOR, used_vectors); #endif +#endif /* CONFIG_SMP */ } static void __init apic_intr_init(void) |