]> 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)
commit0c673f8f261358a794a842ac0a322deadd5291eb
tree590e988501fc65b896c95b4c55b4b56752fd9ac5
parentbf5ccb76327108776f520b04c49bccb1f6006521
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