Skip to content

Commit e6310f0

Browse files
Alexey Dobriyantorvalds
authored andcommitted
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@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Joey Pabalinas <joeypabalinas@gmail.com> Cc: Petr Mladek <pmladek@suse.com> Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 300133d commit e6310f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/printk.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ static inline void show_regs_print_info(const char *log_lvl)
264264
{
265265
}
266266

267-
static inline asmlinkage void dump_stack(void)
267+
static inline void dump_stack(void)
268268
{
269269
}
270270

0 commit comments

Comments
 (0)