From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Subject: include/linux/printk.h: drop silly "static inline asmlinkage" from dump_stack() Empty function will be inlined so asmlinkage doesn't do anything. Link: http://lkml.kernel.org/r/20181124093530.GE10969@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Reviewed-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Acked-by: Joey Pabalinas <joeypabalinas@xxxxxxxxx> Cc: Petr Mladek <pmladek@xxxxxxxx> Cc: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/printk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/printk.h~drop-silly-static-inline-asmlinkage-from-dump_stack +++ a/include/linux/printk.h @@ -264,7 +264,7 @@ static inline void show_regs_print_info( { } -static inline asmlinkage void dump_stack(void) +static inline void dump_stack(void) { } _