summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms
diff options
context:
space:
mode:
authorNaveen N Rao <naveen@kernel.org>2023-11-30 09:59:47 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-12-05 06:14:12 +0300
commit4b3338aaa74d7d4ec5b6734dc298f0db94ec83d2 (patch)
treee78e6589cc56016d61abbee8b1874a57848b3955 /arch/powerpc/platforms
parentdc158d23b33df9033bcc8e7117e8591dd2f9d125 (diff)
downloadlinux-4b3338aaa74d7d4ec5b6734dc298f0db94ec83d2.tar.xz
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: stable@vger.kernel.org # v6.5+ Signed-off-by: Naveen N Rao <naveen@kernel.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231130065947.2188860-1-naveen@kernel.org
Diffstat (limited to 'arch/powerpc/platforms')
0 files changed, 0 insertions, 0 deletions