summaryrefslogtreecommitdiffstats
path: root/arch/arm/lib32
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-11-14 09:54:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-14 09:55:51 +0100
commite76589f081f39343d0c7b831e15e4323433d0ae7 (patch)
treeebed776775b4d29356ce55122e160de8de00d16f /arch/arm/lib32
parent85597856e3755589d78770d1a341980f6ce7081e (diff)
downloadbarebox-e76589f081f39343d0c7b831e15e4323433d0ae7.tar.gz
barebox-e76589f081f39343d0c7b831e15e4323433d0ae7.tar.xz
ARM: stack unwind: Print messages with pr_warning
print stack traces with pr_err() rather than printf() to make sure they appear in the logs. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/lib32')
-rw-r--r--arch/arm/lib32/unwind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lib32/unwind.c b/arch/arm/lib32/unwind.c
index fd4b0b22cb..02fae3c253 100644
--- a/arch/arm/lib32/unwind.c
+++ b/arch/arm/lib32/unwind.c
@@ -62,9 +62,9 @@ static void dump_backtrace_entry(unsigned long where, unsigned long from,
unsigned long frame)
{
#ifdef CONFIG_KALLSYMS
- printk("[<%08lx>] (%pS) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from);
+ pr_warning("[<%08lx>] (%pS) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from);
#else
- printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from);
+ pr_warning("Function entered at [<%08lx>] from [<%08lx>]\n", where, from);
#endif
}