mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 12:46:40 +07:00
[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>
This commit is contained in:
parent
359ad0d401
commit
a0429d0d7a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user