Commit c8d5cb74 authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina

m32r: Convert print_symbol to %pSR

Use the new vsprintf extension to avoid any possible
message interleaving.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarHirokazu Takata <takata@linux-m32r.org>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 69963a07
......@@ -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");
}
......
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