Skip to content

Commit fe1993a

Browse files
0x7f454c46torvalds
authored andcommitted
kernel: use show_stack_loglvl()
Align the last users of show_stack() by KERN_DEFAULT as the surrounding headers/messages. Signed-off-by: Dmitry Safonov <dima@arista.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Will Deacon <will@kernel.org> Link: http://lkml.kernel.org/r/20200418201944.482088-50-dima@arista.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8ba09b1 commit fe1993a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎kernel/locking/rtmutex-debug.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void debug_rt_mutex_print_deadlock(struct rt_mutex_waiter *waiter)
125125

126126
printk("\n%s/%d's [blocked] stackdump:\n\n",
127127
task->comm, task_pid_nr(task));
128-
show_stack(task, NULL);
128+
show_stack_loglvl(task, NULL, KERN_DEFAULT);
129129
printk("\n%s/%d's [current] stackdump:\n\n",
130130
current->comm, task_pid_nr(current));
131131
dump_stack();

‎lib/dump_stack.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void show_regs_print_info(const char *log_lvl)
7474
static void __dump_stack(void)
7575
{
7676
dump_stack_print_info(KERN_DEFAULT);
77-
show_stack(NULL, NULL);
77+
show_stack_loglvl(NULL, NULL, KERN_DEFAULT);
7878
}
7979

8080
/**

0 commit comments

Comments
 (0)