]> git.karo-electronics.de Git - linux-beck.git/commitdiff
sh: Tidy up backtrace formatting with kallsyms disabled.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 26 Nov 2008 06:20:35 +0000 (15:20 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Dec 2008 09:43:49 +0000 (18:43 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/process_32.c
arch/sh/kernel/traps_32.c

index 57de3f1681021457ebae8624d4397b473a8dbdcc..908731c49afb92122518ab804e3bf1f4d7435b3c 100644 (file)
@@ -115,8 +115,8 @@ void machine_power_off(void)
 void show_regs(struct pt_regs * regs)
 {
        printk("\n");
-       printk("Pid : %d, Comm: %20s\n", task_pid_nr(current), current->comm);
-       printk("CPU : %d    %s  (%s %.*s)\n",
+       printk("Pid : %d, Comm: \t\t%s\n", task_pid_nr(current), current->comm);
+       printk("CPU : %d        \t\t%s  (%s %.*s)\n\n",
               smp_processor_id(), print_tainted(), init_utsname()->release,
               (int)strcspn(init_utsname()->version, " "),
               init_utsname()->version);
index f2497585cac00ca2b48fa9d8c1613452c8aadf8a..6094fc13beea919bb0553d52795dcb06cfaf3fd7 100644 (file)
@@ -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++;