]> 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)
commitd1d373dff26dc7739c4738eb3760a7e0d4cdadb1
tree2f99b743bae5f8d5121670b56557db2d9099d76e
parentb139f76df5ae66826d1536d55d2a1c5b845dadb0
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