kernel: use show_stack_loglvl()
authorDmitry Safonov <dima@arista.com>
Tue, 9 Jun 2020 04:32:26 +0000 (21:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Jun 2020 16:39:13 +0000 (09:39 -0700)
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>
kernel/locking/rtmutex-debug.c
lib/dump_stack.c

index fd4fe1f5b458dbd7ed3d7bea411b500a1506ed62..5e63d6e8a2230bbe0a4c2df6a5a8563321162036 100644 (file)
@@ -125,7 +125,7 @@ void debug_rt_mutex_print_deadlock(struct rt_mutex_waiter *waiter)
 
        printk("\n%s/%d's [blocked] stackdump:\n\n",
                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",
                current->comm, task_pid_nr(current));
        dump_stack();
index 33ffbf30885394c89d2c8c933eeb50a7769c357e..5595e8962cf6bdf1f8154cad31b2d4740ee07de4 100644 (file)
@@ -74,7 +74,7 @@ void show_regs_print_info(const char *log_lvl)
 static void __dump_stack(void)
 {
        dump_stack_print_info(KERN_DEFAULT);
-       show_stack(NULL, NULL);
+       show_stack_loglvl(NULL, NULL, KERN_DEFAULT);
 }
 
 /**