um: Fix _print_addr()
Recent changes to printk() broke UML's stack trace output. Kill the root of the problem by using a single printk() statement. Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
a351e9b9fc
commit
ecb6c7435f
@ -20,10 +20,8 @@
|
|||||||
|
|
||||||
static void _print_addr(void *data, unsigned long address, int reliable)
|
static void _print_addr(void *data, unsigned long address, int reliable)
|
||||||
{
|
{
|
||||||
pr_info(" [<%08lx>]", address);
|
pr_info(" [<%08lx>] %s%pF\n", address, reliable ? "" : "? ",
|
||||||
pr_cont(" %s", reliable ? "" : "? ");
|
(void *)address);
|
||||||
print_symbol("%s", address);
|
|
||||||
pr_cont("\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct stacktrace_ops stackops = {
|
static const struct stacktrace_ops stackops = {
|
||||||
|
Loading…
Reference in New Issue
Block a user