[TRIVIAL PATCH 06/26] c6x: Convert print_symbol to %pSR

From: Joe Perches
Date: Wed Dec 12 2012 - 13:20:25 EST


Use the new vsprintf extension to avoid any possible
message interleaving.

Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>
---
arch/c6x/kernel/traps.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/arch/c6x/kernel/traps.c b/arch/c6x/kernel/traps.c
index 1be74e5..349cae0 100644
--- a/arch/c6x/kernel/traps.c
+++ b/arch/c6x/kernel/traps.c
@@ -382,8 +382,7 @@ static void show_trace(unsigned long *stack, unsigned long *endstack)
if (i % 5 == 0)
pr_debug("\n ");
#endif
- pr_debug(" [<%08lx>]", addr);
- print_symbol(" %s\n", addr);
+ pr_debug(" [<%08lx>] %pSR\n", addr, (void *)addr);
i++;
}
}
--
1.7.8.112.g3fd21

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/