]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Simplify PPC32's return_to_handler()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 20 Dec 2021 16:38:19 +0000 (16:38 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 7 Feb 2022 10:03:11 +0000 (21:03 +1100)
commitbee5779692a3866f91b6f602a7c8d060ef1cf4b6
tree123b94d99f1b51e93297b40ade851db64bcfedc9
parentd0ffedb11942624faa61dba99068004203b2fcd5
powerpc/ftrace: Simplify PPC32's return_to_handler()

return_to_handler() was copied from PPC64. For PPC32 it
just needs to save r3 and r4, and doesn't require any nop
after the bl.

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