diff options
author | Richard Weinberger <richard@nod.at> | 2016-12-25 23:11:05 +0100 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2017-05-03 22:30:20 +0200 |
commit | ecb6c7435f25d6a11fa9d14f407d00286f9642b9 (patch) | |
tree | 5ba6086159ebdadb309d5650f50a8cf99a45fee6 /arch | |
parent | a351e9b9fc24e982ec2f0e76379a49826036da12 (diff) | |
download | op-kernel-dev-ecb6c7435f25d6a11fa9d14f407d00286f9642b9.zip op-kernel-dev-ecb6c7435f25d6a11fa9d14f407d00286f9642b9.tar.gz |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/um/kernel/sysrq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c index a76295f..6b995e8 100644 --- a/arch/um/kernel/sysrq.c +++ b/arch/um/kernel/sysrq.c @@ -20,10 +20,8 @@ static void _print_addr(void *data, unsigned long address, int reliable) { - pr_info(" [<%08lx>]", address); - pr_cont(" %s", reliable ? "" : "? "); - print_symbol("%s", address); - pr_cont("\n"); + pr_info(" [<%08lx>] %s%pF\n", address, reliable ? "" : "? ", + (void *)address); } static const struct stacktrace_ops stackops = { |