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
1 changed files with 2 additions and 4 deletions
|
@ -132,10 +132,8 @@ static void show_trace(struct task_struct *task, unsigned long *stack)
|
||||||
printk("Call Trace: ");
|
printk("Call Trace: ");
|
||||||
while (!kstack_end(stack)) {
|
while (!kstack_end(stack)) {
|
||||||
addr = *stack++;
|
addr = *stack++;
|
||||||
if (__kernel_text_address(addr)) {
|
if (__kernel_text_address(addr))
|
||||||
printk("[<%08lx>] ", addr);
|
printk("[<%08lx>] %pSR\n", addr, (void *)addr);
|
||||||
print_symbol("%s\n", addr);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
printk("\n");
|
printk("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue