]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Don't save again LR in ftrace_regs_caller() on PPC32
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 20 Dec 2021 16:38:16 +0000 (16:38 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Feb 2022 10:03:10 +0000 (21:03 +1100)
commitd0ffedb11942624faa61dba99068004203b2fcd5
tree38b10ebe4a7c6a09acedc47c54105359b62fa119
parent2d8b32cf654b176a1710bd69d76af0e9b645a099
powerpc/ftrace: Don't save again LR in ftrace_regs_caller() on PPC32

PPC32 mcount() caller already saves LR on stack,
no need to save it again.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/eadcfc770b4f1e35535ffb85e28e858a2c31dec4.1640017960.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/trace/ftrace_32.S