[v1,22/24] tap: add system call number for LoongArch
Checks
Commit Message
This patch adds system call number of bpf for LoongArch
architecture.
Signed-off-by: Min Zhou <zhoumin@loongson.cn>
---
drivers/net/tap/tap_bpf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -93,7 +93,7 @@ union bpf_attr {
# define __NR_bpf 321
# elif defined(__arm__)
# define __NR_bpf 386
-# elif defined(__aarch64__)
+# elif defined(__aarch64__) || defined(__loongarch__)
# define __NR_bpf 280
# elif defined(__sparc__)
# define __NR_bpf 349