Skip to contentSkip to conversation

x86: irqinit_32.c fix compilation warning

PATCH Applied Jaswinder Singh Rajput 2 participants 2 messages Feb 1, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 x86: irqinit_32.c fix compilation warning

Quoted 1 line

From baf127da04513547ef292079c91147eefed333a3 Mon Sep 17 00:00:00 2001

From: jaswinder <[email protected]>
Date: Sun, 1 Feb 2009 21:15:19 +0530
Subject: [PATCH] x86: irqinit_32.c fix compilation warning

Fix:

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

---
 arch/x86/kernel/irqinit_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/irqinit_32.c +1 -1
index ddf3eb7..520e6c1 100644
@@ -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);
 
Signature · 1 line
1.6.1
Applied
#1 lore raw
Quoted 5 lines · Jaswinder Singh Rajput
Quoted 1 line

From baf127da04513547ef292079c91147eefed333a3 Mon Sep 17 00:00:00 2001

From: jaswinder <[email protected]>
Date: Sun, 1 Feb 2009 21:15:19 +0530
Subject: [PATCH] x86: irqinit_32.c fix compilation warning

Quoted 8 lines

Fix:

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

---
 arch/x86/kernel/irqinit_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied to tip/perfcounters/core (which introduced this), thanks Jaswinder!

Ingo