]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita97f64417c0436378b26bf24a2f8b385659322d0
tree2f99b743bae5f8d5121670b56557db2d9099d76e
parent7c26f09522dc5f777d81b9ea5f9f2e6794b2d8e2
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