mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -tip V2] x86: irqinit_32.c fix compilation warning
@ 2009-02-01 16:37 Jaswinder Singh Rajput
  2009-02-01 16:42 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Jaswinder Singh Rajput @ 2009-02-01 16:37 UTC (permalink / raw)
  To: Ingo Molnar, x86 maintainers, LKML

>From baf127da04513547ef292079c91147eefed333a3 Mon Sep 17 00:00:00 2001
From: jaswinder <jaswinder@JSR.SATNAM>
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

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
---
 arch/x86/kernel/irqinit_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/irqinit_32.c b/arch/x86/kernel/irqinit_32.c
index ddf3eb7..520e6c1 100644
--- a/arch/x86/kernel/irqinit_32.c
+++ b/arch/x86/kernel/irqinit_32.c
@@ -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);
 
-- 
1.6.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-01 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-01 16:37 [PATCH -tip V2] x86: irqinit_32.c fix compilation warning Jaswinder Singh Rajput
2009-02-01 16:42 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®