Use the new vsprintf extension to avoid any possible message interleaving. Signed-off-by: Joe Perches <j...@perches.com> --- 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 e562ff8..6fa632c 100644 --- a/arch/um/kernel/sysrq.c +++ b/arch/um/kernel/sysrq.c @@ -24,10 +24,8 @@ void show_trace(struct task_struct *task, unsigned long * stack) while (((long) stack & (THREAD_SIZE-1)) != 0) { addr = *stack; if (__kernel_text_address(addr)) { - printk(KERN_INFO "%08lx: [<%08lx>]", - (unsigned long) stack, addr); - print_symbol(KERN_CONT " %s", addr); - printk(KERN_CONT "\n"); + printk(KERN_INFO "%08lx: [<%08lx>] %pSR\n", + (unsigned long)stack, addr, (void *)addr); } stack++; } -- 1.7.8.112.g3fd21 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/