Commit d039c688 authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen

[PATCH] x86-64: Minor white space cleanup in traps.c

Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent fb60b839
...@@ -426,8 +426,7 @@ void show_registers(struct pt_regs *regs) ...@@ -426,8 +426,7 @@ void show_registers(struct pt_regs *regs)
const int cpu = smp_processor_id(); const int cpu = smp_processor_id();
struct task_struct *cur = cpu_pda(cpu)->pcurrent; struct task_struct *cur = cpu_pda(cpu)->pcurrent;
rsp = regs->rsp; rsp = regs->rsp;
printk("CPU %d ", cpu); printk("CPU %d ", cpu);
__show_regs(regs); __show_regs(regs);
printk("Process %s (pid: %d, threadinfo %p, task %p)\n", printk("Process %s (pid: %d, threadinfo %p, task %p)\n",
...@@ -438,7 +437,6 @@ void show_registers(struct pt_regs *regs) ...@@ -438,7 +437,6 @@ void show_registers(struct pt_regs *regs)
* time of the fault.. * time of the fault..
*/ */
if (in_kernel) { if (in_kernel) {
printk("Stack: "); printk("Stack: ");
_show_stack(NULL, regs, (unsigned long*)rsp); _show_stack(NULL, regs, (unsigned long*)rsp);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment