提交 15081c61 编写于 作者: J Jaswinder Singh Rajput 提交者: Ingo Molnar

x86: irqinit_32.c fix compilation warning

Fix:

  arch/x86/kernel/irqinit_32.c:124: warning: 'smp_intr_init' defined but not used
Signed-off-by: NJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 65d37086
......@@ -154,9 +154,9 @@ static void __init smp_intr_init(void)
static void __init apic_intr_init(void)
{
#ifdef CONFIG_X86_LOCAL_APIC
smp_intr_init();
#ifdef CONFIG_X86_LOCAL_APIC
/* self generated IPI for local APIC timer */
alloc_intr_gate(LOCAL_TIMER_VECTOR, apic_timer_interrupt);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册