Skip to contentSkip to conversation

x86: irq.c declare smp_generic_interrupt before they get used

PATCH New Jaswinder Singh Rajput 1 participant 1 message Apr 9, 2009 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: irq.c declare smp_generic_interrupt before they get used

Impact: fix sparse warning:
arch/x86/kernel/irq.c:245:6: warning: symbol 'smp_generic_interrupt' was not declared. Should it be static?

---
 arch/x86/include/asm/irq.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/include/asm/irq.h +1 -0
index f38481b..5c71f4f 100644
@@ -42,6 +42,7 @@ extern void native_init_IRQ(void);
 extern bool handle_irq(unsigned irq, struct pt_regs *regs);
 
 extern unsigned int do_IRQ(struct pt_regs *regs);
+extern void smp_generic_interrupt(struct pt_regs *regs);
 
 /* Interrupt vector management */
 extern DECLARE_BITMAP(used_vectors, NR_VECTORS);
Signature · 1 line
1.6.0.6