diff options
author | David Daney <david.daney@cavium.com> | 2017-08-03 17:10:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-04 11:23:58 -0700 |
commit | b6bd53f9c4e825fca82fe1392157c78443c814ab (patch) | |
tree | 7990186055798629ae3a957035da8c5fb90b58bf /drivers/net/ethernet/apm | |
parent | Merge branch 's390-bpf-jit-fixes' (diff) | |
download | linux-dev-b6bd53f9c4e825fca82fe1392157c78443c814ab.tar.xz linux-dev-b6bd53f9c4e825fca82fe1392157c78443c814ab.zip |
MIPS: Add missing file for eBPF JIT.
Inexplicably, commit f381bf6d82f0 ("MIPS: Add support for eBPF JIT.")
lost a file somewhere on its path to Linus' tree. Add back the
missing ebpf_jit.c so that we can build with CONFIG_BPF_JIT selected.
This version of ebpf_jit.c is identical to the original except for two
minor change need to resolve conflicts with changes merged from the
BPF branch:
A) Set prog->jited_len = image_size;
B) Use BPF_TAIL_CALL instead of BPF_CALL | BPF_X
Fixes: f381bf6d82f0 ("MIPS: Add support for eBPF JIT.")
Signed-off-by: David Daney <david.daney@cavium.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apm')
0 files changed, 0 insertions, 0 deletions