]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc2297fd040be20713049dedc3150534534b63e04
tree590e988501fc65b896c95b4c55b4b56752fd9ac5
parent19e1f4c8f5ced90ab5e76234fadcea81f1d1f71d
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