diff options
author | Joe Perches <joe@perches.com> | 2012-12-12 13:18:57 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-04-29 09:21:06 -0400 |
commit | c8d5cb74d52749c242e15bdd50298a1168d90a4d (patch) | |
tree | f85713609ffdf4154c0db6ffee50b28175d1fa71 /arch/m32r | |
parent | 69963a072cc6b6c24ae12355e71584e05e13ee45 (diff) |
m32r: Convert print_symbol to %pSR
Use the new vsprintf extension to avoid any possible
message interleaving.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/m32r')
-rw-r--r-- | arch/m32r/kernel/traps.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/m32r/kernel/traps.c b/arch/m32r/kernel/traps.c index 3bcb207e5b6d..9fe3467a5133 100644 --- a/arch/m32r/kernel/traps.c +++ b/arch/m32r/kernel/traps.c | |||
@@ -132,10 +132,8 @@ static void show_trace(struct task_struct *task, unsigned long *stack) | |||
132 | printk("Call Trace: "); | 132 | printk("Call Trace: "); |
133 | while (!kstack_end(stack)) { | 133 | while (!kstack_end(stack)) { |
134 | addr = *stack++; | 134 | addr = *stack++; |
135 | if (__kernel_text_address(addr)) { | 135 | if (__kernel_text_address(addr)) |
136 | printk("[<%08lx>] ", addr); | 136 | printk("[<%08lx>] %pSR\n", addr, (void *)addr); |
137 | print_symbol("%s\n", addr); | ||
138 | } | ||
139 | } | 137 | } |
140 | printk("\n"); | 138 | printk("\n"); |
141 | } | 139 | } |