diff options
author | Naveen N Rao <[email protected]> | 2023-11-30 12:29:47 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-12-05 14:14:12 +1100 |
commit | 4b3338aaa74d7d4ec5b6734dc298f0db94ec83d2 (patch) | |
tree | e78e6589cc56016d61abbee8b1874a57848b3955 /drivers/fpga/ts73xx-fpga.c | |
parent | dc158d23b33df9033bcc8e7117e8591dd2f9d125 (diff) |
powerpc/ftrace: Fix stack teardown in ftrace_no_trace
Commit 41a506ef71eb ("powerpc/ftrace: Create a dummy stackframe to fix
stack unwind") added use of a new stack frame on ftrace entry to fix
stack unwind. However, the commit missed updating the offset used while
tearing down the ftrace stack when ftrace is disabled. Fix the same.
In addition, the commit missed saving the correct stack pointer in
pt_regs. Update the same.
Fixes: 41a506ef71eb ("powerpc/ftrace: Create a dummy stackframe to fix stack unwind")
Cc: [email protected] # v6.5+
Signed-off-by: Naveen N Rao <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions