diff options
author | Christophe Leroy <christophe.leroy@csgroup.eu> | 2021-05-20 10:23:01 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-16 00:16:47 +1000 |
commit | 07cd18320ed816dec8ff6f58a2d8b33294dcceba (patch) | |
tree | 8db44d6e3d662bd936c00ff1e0a13ebeed8d990f /arch/powerpc/include/asm/code-patching.h | |
parent | 148a047602462ab04bff20f3529a255b0439d3df (diff) |
powerpc/opcodes: Add shorter macros for registers for use with PPC_RAW_xx()
Today we have __REG_Rx macros . They are mainly meant for
internal use by macros __PPC_RA() and friends macros which
allows uses like __PPC_RA(R12).
When used with PPC_RAW_xx() macros, it gives a result which is
not very readable.
Add shorter macros _Rx in order to improve readability when
used with PPC_RAW_xx() macros.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ec34d92b7c2f810622261acfeeed4b0a0f4d01bd.1621506159.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/include/asm/code-patching.h')
0 files changed, 0 insertions, 0 deletions