提交 a0429d0d 编写于 作者: A Andi Kleen 提交者: Andi Kleen

[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: NAndi Kleen <ak@suse.de>
上级 359ad0d4
...@@ -309,12 +309,6 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs, ...@@ -309,12 +309,6 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs,
if (tsk && tsk != current) if (tsk && tsk != current)
stack = (unsigned long *)tsk->thread.rsp; 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 * Print function call entries within a stack. 'cond' is the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册