summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Dubey <adubey@linux.ibm.com>2026-04-01 18:21:31 +0300
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-04-03 11:44:25 +0300
commit66cad93ad325b332868c062bbd0de65ca4e59657 (patch)
treedf5f57035ed5075dacd24638e9a4a5703e01f860
parent1e4bac7eb95a5a1aed5b39971ef77dca5b0f8a9f (diff)
downloadlinux-66cad93ad325b332868c062bbd0de65ca4e59657.tar.xz
selftest/bpf: Enable instruction array test for powerpc
With instruction array now supported, enable corresponding bpf selftest for powerpc. Signed-off-by: Abhishek Dubey <adubey@linux.ibm.com> Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Acked-by: Hari Bathini <hbathini@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260401152133.42544-3-adubey@linux.ibm.com
-rw-r--r--tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c b/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
index 269870bec941..482d38b9c29e 100644
--- a/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
+++ b/tools/testing/selftests/bpf/prog_tests/bpf_insn_array.c
@@ -3,7 +3,7 @@
#include <bpf/bpf.h>
#include <test_progs.h>
-#ifdef __x86_64__
+#if defined(__x86_64__) || defined(__powerpc__)
static int map_create(__u32 map_type, __u32 max_entries)
{
const char *map_name = "insn_array";