bpf: remove stubs for cBPF from arch code
authorDaniel Borkmann <daniel@iogearbox.net>
Thu, 16 Feb 2017 21:24:49 +0000 (22:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Feb 2017 18:40:04 +0000 (13:40 -0500)
commit9383191da4e40360a5d880fbe6bb03911c61621b
treec92770092ea2f7d4d3fdc207c80b8266547572f6
parentc78f8bdfa11fcceb9723c61212e4bd8f76c87f9e
bpf: remove stubs for cBPF from arch code

Remove the dummy bpf_jit_compile() stubs for eBPF JITs and make
that a single __weak function in the core that can be overridden
similarly to the eBPF one. Also remove stale pr_err() mentions
of bpf_jit_compile.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/net/bpf_jit_comp.c
arch/powerpc/net/bpf_jit_comp64.c
arch/s390/net/bpf_jit_comp.c
arch/x86/net/bpf_jit_comp.c
include/linux/filter.h
kernel/bpf/core.c