net/tap: fix build on ARM32
This commit adds eBPF system call definitions for ARM architecture.
Old Linux header files may not define eBPF system call numbers.
In order to successful compile eBPF on all Linux platforms - the
missing ARM system call definition is explicitly added.
Fixes: b02d85e1
("net/tap: add eBPF API")
Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
This commit is contained in:
parent
6af3b03547
commit
e56447980e
@ -91,6 +91,8 @@ union bpf_attr {
|
||||
# define __NR_bpf 357
|
||||
# elif defined(__x86_64__)
|
||||
# define __NR_bpf 321
|
||||
# elif defined(__arm__)
|
||||
# define __NR_bpf 386
|
||||
# elif defined(__aarch64__)
|
||||
# define __NR_bpf 280
|
||||
# elif defined(__sparc__)
|
||||
|
Loading…
Reference in New Issue
Block a user