powerpc/ppc-opcode: introduce PPC_RAW_BRANCH() macro
authorHari Bathini <hbathini@linux.ibm.com>
Tue, 12 Oct 2021 12:30:52 +0000 (18:00 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Nov 2021 00:25:31 +0000 (11:25 +1100)
commitf15a71b3880bf07b40810644e5ac6f177c2a7c8f
treeaee7ec276dde10c3b7e1f2128d16065fed4c3941
parentefa95f031bf38c85cf865413335a3dc044e3194e
powerpc/ppc-opcode: introduce PPC_RAW_BRANCH() macro

Define and use PPC_RAW_BRANCH() macro instead of open coding it. This
macro is used while adding BPF_PROBE_MEM support.

Signed-off-by: Hari Bathini <hbathini@linux.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211012123056.485795-5-hbathini@linux.ibm.com
arch/powerpc/include/asm/ppc-opcode.h
arch/powerpc/net/bpf_jit.h