From: Alexey Dobriyan Date: Thu, 3 Jan 2019 23:26:37 +0000 (-0800) Subject: include/linux/printk.h: drop silly "static inline asmlinkage" from dump_stack() X-Git-Tag: v5.0-rc1~38^2~46 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e6310f0fb5cd3f65244dbdef2fb264859891c7ec;p=tomoyo%2Ftomoyo-test1.git 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 Reviewed-by: Andrew Morton Acked-by: Joey Pabalinas Cc: Petr Mladek Cc: Sergey Senozhatsky Cc: Steven Rostedt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/printk.h b/include/linux/printk.h index 55aa96975fa2..77740a506ebb 100644 --- a/include/linux/printk.h +++ b/include/linux/printk.h @@ -264,7 +264,7 @@ static inline void show_regs_print_info(const char *log_lvl) { } -static inline asmlinkage void dump_stack(void) +static inline void dump_stack(void) { }