summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/traps_32.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-11-26 07:20:35 +0100
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 10:43:49 +0100
commit75fd24c1073adcd1e8ea43048d946bbfa34dfc64 (patch)
tree659d229467650dfdbbc58a967062ba608552c235 /arch/sh/kernel/traps_32.c
parentsh: Add a simple code dumper for SUPERH32 show_regs(). (diff)
downloadlinux-75fd24c1073adcd1e8ea43048d946bbfa34dfc64.tar.xz
linux-75fd24c1073adcd1e8ea43048d946bbfa34dfc64.zip
sh: Tidy up backtrace formatting with kallsyms disabled.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/traps_32.c')
-rw-r--r--arch/sh/kernel/traps_32.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sh/kernel/traps_32.c b/arch/sh/kernel/traps_32.c
index f2497585cac0..6094fc13beea 100644
--- a/arch/sh/kernel/traps_32.c
+++ b/arch/sh/kernel/traps_32.c
@@ -873,10 +873,7 @@ void show_trace(struct task_struct *tsk, unsigned long *sp,
if (regs && user_mode(regs))
return;
- printk("\nCall trace: ");
-#ifdef CONFIG_KALLSYMS
- printk("\n");
-#endif
+ printk("\nCall trace:\n");
while (!kstack_end(sp)) {
addr = *sp++;