]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ftrace: Use PPC_RAW_xxx() macros instead of opencoding.
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 9 May 2022 05:36:14 +0000 (07:36 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 May 2022 13:11:29 +0000 (23:11 +1000)
commitcfae3134b537d5311840a73ee18bf1b1ba2bef27
tree6b26d9450496e733d7bece84f1015dd5c0f4313b
parent8c4950fc79b1ddbbb291b26d56c5338c55a3af62
powerpc/ftrace: Use PPC_RAW_xxx() macros instead of opencoding.

PPC_RAW_xxx() macros are self explanatory and less error prone
than open coding.

Use them in ftrace.c

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/9292094c9a69cef6d29ee83f435a557b59c45065.1652074503.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/kernel/trace/ftrace.c