Commit fe1993a0 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Linus Torvalds

kernel: use show_stack_loglvl()

Align the last users of show_stack() by KERN_DEFAULT as the surrounding
headers/messages.
Signed-off-by: default avatarDmitry Safonov <dima@arista.com>
Signed-off-by: default avatarAndrew 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.comSigned-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 8ba09b1d
...@@ -125,7 +125,7 @@ void debug_rt_mutex_print_deadlock(struct rt_mutex_waiter *waiter) ...@@ -125,7 +125,7 @@ void debug_rt_mutex_print_deadlock(struct rt_mutex_waiter *waiter)
printk("\n%s/%d's [blocked] stackdump:\n\n", printk("\n%s/%d's [blocked] stackdump:\n\n",
task->comm, task_pid_nr(task)); task->comm, task_pid_nr(task));
show_stack(task, NULL); show_stack_loglvl(task, NULL, KERN_DEFAULT);
printk("\n%s/%d's [current] stackdump:\n\n", printk("\n%s/%d's [current] stackdump:\n\n",
current->comm, task_pid_nr(current)); current->comm, task_pid_nr(current));
dump_stack(); dump_stack();
......
...@@ -74,7 +74,7 @@ void show_regs_print_info(const char *log_lvl) ...@@ -74,7 +74,7 @@ void show_regs_print_info(const char *log_lvl)
static void __dump_stack(void) static void __dump_stack(void)
{ {
dump_stack_print_info(KERN_DEFAULT); dump_stack_print_info(KERN_DEFAULT);
show_stack(NULL, NULL); show_stack_loglvl(NULL, NULL, KERN_DEFAULT);
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment