summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-05 16:12:34 -0700
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-11-07 17:58:40 +0000
commit69448c2a4d23e5883cbca21a173e3eb89f095746 (patch)
tree51db37303a64724241dcd27307e62dd66df2e63d /arch
parent235584b6f3b71bc1381be13a963a16f7107650cf (diff)
downloadlinux-stable-69448c2a4d23e5883cbca21a173e3eb89f095746.tar.gz
linux-stable-69448c2a4d23e5883cbca21a173e3eb89f095746.tar.bz2
linux-stable-69448c2a4d23e5883cbca21a173e3eb89f095746.zip
ARM: arch/arm/kernel/traps.c: Convert sprintf_symbol to %pS
Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kernel/traps.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index cda78d59aa31..446aee97436f 100644
--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -53,10 +53,7 @@ static void dump_mem(const char *, const char *, unsigned long, unsigned long);
void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame)
{
#ifdef CONFIG_KALLSYMS
- char sym1[KSYM_SYMBOL_LEN], sym2[KSYM_SYMBOL_LEN];
- sprint_symbol(sym1, where);
- sprint_symbol(sym2, from);
- printk("[<%08lx>] (%s) from [<%08lx>] (%s)\n", where, sym1, from, sym2);
+ printk("[<%08lx>] (%pS) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from);
#else
printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from);
#endif