x86: irq.c declare smp_generic_interrupt before they get used
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?
Signed-off-by Jaswinder Singh Rajput <[email protected]>
--- arch/x86/include/asm/irq.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/x86/include/asm/irq.h +1 -0
@@ -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