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>
# 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__)