m32r: Convert print_symbol to %pSR
Use the new vsprintf extension to avoid any possible message interleaving. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
69963a072c
commit
c8d5cb74d5
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user