From: Joe Perches Date: Wed, 12 Dec 2012 18:18:57 +0000 (-0800) Subject: m32r: Convert print_symbol to %pSR X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c8d5cb74d52749c242e15bdd50298a1168d90a4d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git m32r: Convert print_symbol to %pSR Use the new vsprintf extension to avoid any possible message interleaving. Signed-off-by: Joe Perches Acked-by: Hirokazu Takata Signed-off-by: Jiri Kosina --- diff --git a/arch/m32r/kernel/traps.c b/arch/m32r/kernel/traps.c index 3bcb207e5b6d..9fe3467a5133 100644 --- a/arch/m32r/kernel/traps.c +++ b/arch/m32r/kernel/traps.c @@ -132,10 +132,8 @@ static void show_trace(struct task_struct *task, unsigned long *stack) printk("Call Trace: "); while (!kstack_end(stack)) { addr = *stack++; - if (__kernel_text_address(addr)) { - printk("[<%08lx>] ", addr); - print_symbol("%s\n", addr); - } + if (__kernel_text_address(addr)) + printk("[<%08lx>] %pSR\n", addr, (void *)addr); } printk("\n"); }