aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/irqinit_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/irqinit_64.c')
-rw-r--r--arch/x86/kernel/irqinit_64.c2
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")));
107static void __init smp_intr_init(void) 107static void __init smp_intr_init(void)
108{ 108{
109#ifdef CONFIG_SMP 109#ifdef CONFIG_SMP
110#if defined(CONFIG_X86_64) || defined(CONFIG_X86_LOCAL_APIC)
110 /* 111 /*
111 * The reschedule interrupt is a CPU-to-CPU reschedule-helper 112 * The reschedule interrupt is a CPU-to-CPU reschedule-helper
112 * IPI, driven by wakeup. 113 * IPI, driven by wakeup.
@@ -134,6 +135,7 @@ static void __init smp_intr_init(void)
134 set_intr_gate(IRQ_MOVE_CLEANUP_VECTOR, irq_move_cleanup_interrupt); 135 set_intr_gate(IRQ_MOVE_CLEANUP_VECTOR, irq_move_cleanup_interrupt);
135 set_bit(IRQ_MOVE_CLEANUP_VECTOR, used_vectors); 136 set_bit(IRQ_MOVE_CLEANUP_VECTOR, used_vectors);
136#endif 137#endif
138#endif /* CONFIG_SMP */
137} 139}
138 140
139static void __init apic_intr_init(void) 141static void __init apic_intr_init(void)