bpf powerpc: refactor JIT compiler code
authorHari Bathini <hbathini@linux.ibm.com>
Tue, 12 Oct 2021 12:30:51 +0000 (18:00 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Nov 2021 00:25:31 +0000 (11:25 +1100)
commitefa95f031bf38c85cf865413335a3dc044e3194e
treed4263ffe258904714935a6e3c987c6a140044960
parent04c04205bc35d0ecdc57146995ca9eb957d4f379
bpf powerpc: refactor JIT compiler code

Refactor powerpc LDX JITing code to simplify 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-4-hbathini@linux.ibm.com
arch/powerpc/net/bpf_jit_comp32.c
arch/powerpc/net/bpf_jit_comp64.c