Skip to content

Commit

Permalink
[PATCH] x86-64: Minor white space cleanup in traps.c
Browse files Browse the repository at this point in the history
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed May 2, 2007
1 parent fb60b83 commit d039c68
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,7 @@ void show_registers(struct pt_regs *regs)
const int cpu = smp_processor_id();
struct task_struct *cur = cpu_pda(cpu)->pcurrent;

rsp = regs->rsp;

rsp = regs->rsp;
printk("CPU %d ", cpu);
__show_regs(regs);
printk("Process %s (pid: %d, threadinfo %p, task %p)\n",
Expand All @@ -438,7 +437,6 @@ void show_registers(struct pt_regs *regs)
* time of the fault..
*/
if (in_kernel) {

printk("Stack: ");
_show_stack(NULL, regs, (unsigned long*)rsp);

Expand Down

0 comments on commit d039c68

Please sign in to comment.