diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-11-26 01:20:35 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:43:49 -0500 |
commit | 75fd24c1073adcd1e8ea43048d946bbfa34dfc64 (patch) | |
tree | 659d229467650dfdbbc58a967062ba608552c235 /arch/sh/kernel | |
parent | 9cfc9a9b6fff9ea7a19814b4472b3cb18b7bbdcc (diff) |
sh: Tidy up backtrace formatting with kallsyms disabled.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/process_32.c | 4 | ||||
-rw-r--r-- | arch/sh/kernel/traps_32.c | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/arch/sh/kernel/process_32.c b/arch/sh/kernel/process_32.c index 57de3f168102..908731c49afb 100644 --- a/arch/sh/kernel/process_32.c +++ b/arch/sh/kernel/process_32.c | |||
@@ -115,8 +115,8 @@ void machine_power_off(void) | |||
115 | void show_regs(struct pt_regs * regs) | 115 | void show_regs(struct pt_regs * regs) |
116 | { | 116 | { |
117 | printk("\n"); | 117 | printk("\n"); |
118 | printk("Pid : %d, Comm: %20s\n", task_pid_nr(current), current->comm); | 118 | printk("Pid : %d, Comm: \t\t%s\n", task_pid_nr(current), current->comm); |
119 | printk("CPU : %d %s (%s %.*s)\n", | 119 | printk("CPU : %d \t\t%s (%s %.*s)\n\n", |
120 | smp_processor_id(), print_tainted(), init_utsname()->release, | 120 | smp_processor_id(), print_tainted(), init_utsname()->release, |
121 | (int)strcspn(init_utsname()->version, " "), | 121 | (int)strcspn(init_utsname()->version, " "), |
122 | init_utsname()->version); | 122 | init_utsname()->version); |
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, | |||
873 | if (regs && user_mode(regs)) | 873 | if (regs && user_mode(regs)) |
874 | return; | 874 | return; |
875 | 875 | ||
876 | printk("\nCall trace: "); | 876 | printk("\nCall trace:\n"); |
877 | #ifdef CONFIG_KALLSYMS | ||
878 | printk("\n"); | ||
879 | #endif | ||
880 | 877 | ||
881 | while (!kstack_end(sp)) { | 878 | while (!kstack_end(sp)) { |
882 | addr = *sp++; | 879 | addr = *sp++; |