]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Add module_trampoline_target() for PPC32
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 28 Oct 2021 12:24:03 +0000 (14:24 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Nov 2021 11:49:29 +0000 (22:49 +1100)
commitc00ce2cf7cf61053b07acbca99c9e86fbe052887
treef68a4ab7358760ea588b5686c5f8b701bf14c048
parentb5acbe786e0a4d675406cce5e693c02fbd432911
powerpc/ftrace: Add module_trampoline_target() for PPC32

module_trampoline_target() is used by __ftrace_modify_call().

Implement it for PPC32 so that CONFIG_DYNAMIC_FTRACE_WITH_REGS
can be activated on PPC32 as well.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/42345f464fb465f0fc76f3090e250be8fc1729f0.1635423081.git.christophe.leroy@csgroup.eu
arch/powerpc/kernel/module_32.c
arch/powerpc/kernel/trace/ftrace.c