Skip to content

Commit

Permalink
[PATCH] x86-64: Remove unwind stack pointer alignment forcing again
Browse files Browse the repository at this point in the history
This was added as a workaround for the fallback unwinder not supporting
unaligned stack pointers properly. But now it was fixed to do that,
so it's not needed anymore

Cc: mingo@elte.hu
Signed-off-by: Andi Kleen <ak@suse.de>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Dec 7, 2006
1 parent 359ad0d commit a0429d0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/x86_64/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,12 +309,6 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
if (tsk && tsk != current)
stack = (unsigned long *)tsk->thread.rsp;
}
/*
* Align the stack pointer on word boundary, later loops
* rely on that (and corruption / debug info bugs can cause
* unaligned values here):
*/
stack = (unsigned long *)((unsigned long)stack & ~(sizeof(long)-1));

/*
* Print function call entries within a stack. 'cond' is the
Expand Down

0 comments on commit a0429d0

Please sign in to comment.