]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f076b7b2111667be6ccdea65fc04533a934a98c
treeaee7ec276dde10c3b7e1f2128d16065fed4c3941
parentc77ae8f1c4845b610d6004918956e0e5aa0c168f
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