Skip to content

Commit

Permalink
powerpc/ftrace: Fix stack teardown in ftrace_no_trace
Browse files Browse the repository at this point in the history
Commit 41a506e ("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: 41a506e ("powerpc/ftrace: Create a dummy stackframe to fix stack unwind")
Cc: [email protected]
Signed-off-by: Naveen N Rao <[email protected]>
  • Loading branch information
rnav authored and intel-lab-lkp committed Nov 30, 2023
1 parent 9a15ae6 commit 004b07a

Sorry, this diff is temporarily unavailable due to heavy server load.

Please try again later.

0 comments on commit 004b07a

Please sign in to comment.