]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86_64: remove empty lines from stack traces/oopses
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 31 Jul 2008 23:51:38 +0000 (03:51 +0400)
committerIngo Molnar <mingo@elte.hu>
Fri, 15 Aug 2008 15:26:12 +0000 (17:26 +0200)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: ak@suse.de
Cc: akpm@osdl.org
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_64.c

index 3f18d73f420c414d809a1046dd5676b992e8676e..8b5b3b81d437e72f76a2a90cc6fd43089457a97e 100644 (file)
@@ -339,9 +339,8 @@ static void
 show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs,
                unsigned long *stack, unsigned long bp, char *log_lvl)
 {
-       printk("\nCall Trace:\n");
+       printk("Call Trace:\n");
        dump_trace(task, regs, stack, bp, &print_trace_ops, log_lvl);
-       printk("\n");
 }
 
 void show_trace(struct task_struct *task, struct pt_regs *regs,
@@ -386,6 +385,7 @@ show_stack_log_lvl(struct task_struct *task, struct pt_regs *regs,
                printk(" %016lx", *stack++);
                touch_nmi_watchdog();
        }
+       printk("\n");
        show_trace_log_lvl(task, regs, sp, bp, log_lvl);
 }
 
@@ -443,7 +443,6 @@ void show_registers(struct pt_regs *regs)
                printk("Stack: ");
                show_stack_log_lvl(NULL, regs, (unsigned long *)sp,
                                regs->bp, "");
-               printk("\n");
 
                printk(KERN_EMERG "Code: ");