diff options
author | Andi Kleen <ak@suse.de> | 2006-12-06 20:14:13 -0500 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-06 20:14:13 -0500 |
commit | a0429d0d7a6116dedcb71d9128da904bf135f189 (patch) | |
tree | 4d27c96155b63b7bb4a17e189482200e2f4e49fd | |
parent | 359ad0d4015a9ab39243f2ebc4eb07915bd618b2 (diff) |
[PATCH] x86-64: Remove unwind stack pointer alignment forcing again
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>
-rw-r--r-- | arch/x86_64/kernel/traps.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86_64/kernel/traps.c b/arch/x86_64/kernel/traps.c index 4fdd162f0bef..a1641ffdffcf 100644 --- a/arch/x86_64/kernel/traps.c +++ b/arch/x86_64/kernel/traps.c | |||
@@ -309,12 +309,6 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs, | |||
309 | if (tsk && tsk != current) | 309 | if (tsk && tsk != current) |
310 | stack = (unsigned long *)tsk->thread.rsp; | 310 | stack = (unsigned long *)tsk->thread.rsp; |
311 | } | 311 | } |
312 | /* | ||
313 | * Align the stack pointer on word boundary, later loops | ||
314 | * rely on that (and corruption / debug info bugs can cause | ||
315 | * unaligned values here): | ||
316 | */ | ||
317 | stack = (unsigned long *)((unsigned long)stack & ~(sizeof(long)-1)); | ||
318 | 312 | ||
319 | /* | 313 | /* |
320 | * Print function call entries within a stack. 'cond' is the | 314 | * Print function call entries within a stack. 'cond' is the |