Skip to content

Commit

Permalink
x86: irqinit_32.c fix compilation warning
Browse files Browse the repository at this point in the history
Fix:

  arch/x86/kernel/irqinit_32.c:124: warning: 'smp_intr_init' defined but not used

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Jaswinder Singh Rajput authored and Ingo Molnar committed Feb 1, 2009
1 parent 65d3708 commit 15081c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/irqinit_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 15081c6

Please sign in to comment.