diff options
author | David S. Miller <davem@davemloft.net> | 2017-04-22 21:31:05 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-22 22:01:52 +0200 |
commit | b0c47807d31deccdfb78a22a0d04dd9785bdb9d3 (patch) | |
tree | ca692f4934315e65ae4927eca8ccb1e4030c4836 /tools/lib | |
parent | sparc64: Add eBPF JIT. (diff) | |
download | linux-b0c47807d31deccdfb78a22a0d04dd9785bdb9d3.tar.xz linux-b0c47807d31deccdfb78a22a0d04dd9785bdb9d3.zip |
bpf: Add sparc support to tools and samples.
Signed-off-by: David S. Miller <davem@davemloft.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/bpf/bpf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/lib/bpf/bpf.c b/tools/lib/bpf/bpf.c index f84c398c11f4..4fe444b8092e 100644 --- a/tools/lib/bpf/bpf.c +++ b/tools/lib/bpf/bpf.c @@ -37,6 +37,8 @@ # define __NR_bpf 321 # elif defined(__aarch64__) # define __NR_bpf 280 +# elif defined(__sparc__) +# define __NR_bpf 349 # else # error __NR_bpf not defined. libbpf does not support your arch. # endif |