powerpc/ftrace: Use PPC_RAW_MFLR() and PPC_RAW_NOP()
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 20 May 2021 10:23:06 +0000 (10:23 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 15 Jun 2021 14:16:48 +0000 (00:16 +1000)
commit5a03e1e9728edce8f87e3e0bad6d4cd66329b129
tree590e988501fc65b896c95b4c55b4b56752fd9ac5
parente7304597560176d8755e2ae4abb599d0c4efe4f2
powerpc/ftrace: Use PPC_RAW_MFLR() and PPC_RAW_NOP()

Use PPC_RAW_MFLR() instead of open coding with PPC_INST_MFLR.

Same for PPC_INST_NOP.

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