aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2020-06-17 16:36:33 +0200
committerRich Felker <dalias@libc.org>2020-08-14 22:05:08 -0400
commitf6bed866f113d0b141f01e2a6472523739886dc8 (patch)
treecd959f15b578a27dbc4bc19f0ed024158763b7e2 /arch
parentRevert "sh: add loglvl to printk_address()" (diff)
downloadlinux-dev-f6bed866f113d0b141f01e2a6472523739886dc8.tar.xz
linux-dev-f6bed866f113d0b141f01e2a6472523739886dc8.zip
Revert "sh: remove needless printk()"
This reverts commit 8b92f34877225c8eb85e3ab7f1177fc248ba26d0. "data" became the log level in commit 539e786cc37ee5cb ("sh: add loglvl to show_trace()"), so we do need to keep the printk() before the continuation in print_trace_address(). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/kernel/dumpstack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/dumpstack.c b/arch/sh/kernel/dumpstack.c
index ad548fc97635..cc8063a01284 100644
--- a/arch/sh/kernel/dumpstack.c
+++ b/arch/sh/kernel/dumpstack.c
@@ -118,6 +118,7 @@ static int print_trace_stack(void *data, char *name)
*/
static void print_trace_address(void *data, unsigned long addr, int reliable)
{
+ printk("%s", (char *)data);
printk_address(addr, reliable);
}