]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Make __ftrace_make_{nop/call}() common to PPC32 and PPC64
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 9 May 2022 05:36:09 +0000 (07:36 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 May 2022 13:11:29 +0000 (23:11 +1000)
commit00a47ed31381561f8da23ca77d3ae15d3730c41e
tree3ec3c96ef0fd9d09dee6d3fda3710ed5fd23e55c
parent88b26b4e7f214e251a77384888b792fbd4241340
powerpc/ftrace: Make __ftrace_make_{nop/call}() common to PPC32 and PPC64

Since a36a7ff2dd16 ("powerpc/ftrace: Add module_trampoline_target()
for PPC32"), __ftrace_make_nop() for PPC32 is very similar to the
one for PPC64.

Same for __ftrace_make_call().

Make them common.

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