]> 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)
commit018d33c1b160a9c5e0281e7e410d0da6ec6c5004
tree6b26d9450496e733d7bece84f1015dd5c0f4313b
parent5d3bc3618f0e050138339bc3ef5cf5aa0635918e
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