aboutsummaryrefslogtreecommitdiff
path: root/tools/build/feature/test-bpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/build/feature/test-bpf.c')
-rw-r--r--tools/build/feature/test-bpf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/build/feature/test-bpf.c b/tools/build/feature/test-bpf.c
index e04ab89a1013..ebc6dceddb58 100644
--- a/tools/build/feature/test-bpf.c
+++ b/tools/build/feature/test-bpf.c
@@ -9,6 +9,9 @@
# 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
#endif