OSDN Git Service

bpf, arm: Remove dummy bpf_jit_compile stub
authorDaniel Borkmann <daniel@iogearbox.net>
Wed, 6 Oct 2021 14:08:25 +0000 (16:08 +0200)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 6 Oct 2021 19:34:02 +0000 (12:34 -0700)
commit90982e13561e0d8df91d49658d3bf068ae9f2dff
tree2f99b743bae5f8d5121670b56557db2d9099d76e
parentf438ee21ef21f9fa4e7745e9a4a6dd8a6422c7e2
bpf, arm: Remove dummy bpf_jit_compile stub

The BPF core defines a __weak bpf_jit_compile() dummy function already
which should only be overridden by JITs if they actually implement a
legacy cBPF JIT. Given arm implements an eBPF JIT, this stub is not
needed.

Now that MIPS cBPF JIT is finally gone, the only JIT left that is still
implementing bpf_jit_compile() is the sparc32 one.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
arch/arm/net/bpf_jit_32.c