arch/x86/kernel/irq_work.c defines a function smp_irq_work_interrupt, only called from assembly. Add a prototype right before its definition, to satisfy GCC (-Wmissing-prototypes) and Sparse (-Wdecl).
arch/x86/kernel/irq_work.c:12:6: warning: no previous prototype for ‘smp_irq_work_interrupt’ [-Wmissing-prototypes] Signed-off-by: Josh Triplett <j...@joshtriplett.org> --- arch/x86/kernel/irq_work.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/irq_work.c b/arch/x86/kernel/irq_work.c index ca8f703..7c25e97 100644 --- a/arch/x86/kernel/irq_work.c +++ b/arch/x86/kernel/irq_work.c @@ -9,6 +9,8 @@ #include <linux/hardirq.h> #include <asm/apic.h> +void smp_irq_work_interrupt(struct pt_regs *regs); + void smp_irq_work_interrupt(struct pt_regs *regs) { irq_enter(); -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/