kernel/panic.c defines an empty stub of panic_smp_self_stop with __weak, for use on architectures without an alternate implementation. Define a prototype of that function, to satisfy gcc (-Wmissing-prototypes) and Sparse (-Wdecl).
kernel/panic.c:55:28: warning: no previous prototype for ‘panic_smp_self_stop’ [-Wmissing-prototypes] Signed-off-by: Josh Triplett <[email protected]> --- kernel/panic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/panic.c b/kernel/panic.c index e1b2822..38a4ed4 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -52,6 +52,7 @@ EXPORT_SYMBOL(panic_blink); /* * Stop ourself in panic -- architecture code may override this */ +void panic_smp_self_stop(void); void __weak panic_smp_self_stop(void) { while (1) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

