Factor out code common for 32-bit and 64-bit x86 BPF JITs. Tobias Klauser (2): bpf, x86: Factor common x86 JIT code bpf, x86: Factor out get_cond_jmp_opcode and use for 64bit x86 MAINTAINERS | 3 +- arch/x86/net/Makefile | 4 +- arch/x86/net/bpf_jit.h | 97 ++++++++++ arch/x86/net/bpf_jit_comp32.c | 178 ++---------------- .../net/{bpf_jit_comp.c => bpf_jit_comp64.c} | 130 +------------ arch/x86/net/bpf_jit_core.c | 76 ++++++++ 6 files changed, 194 insertions(+), 294 deletions(-) create mode 100644 arch/x86/net/bpf_jit.h rename arch/x86/net/{bpf_jit_comp.c => bpf_jit_comp64.c} (94%) create mode 100644 arch/x86/net/bpf_jit_core.c -- 2.27.0