From: Abhishek Dubey Date: Wed, 1 Apr 2026 15:21:31 +0000 (-0400) Subject: selftest/bpf: Enable instruction array test for powerpc X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66cad93ad325b332868c062bbd0de65ca4e59657;p=thirdparty%2Fkernel%2Flinux.git selftest/bpf: Enable instruction array test for powerpc With instruction array now supported, enable corresponding bpf selftest for powerpc. Signed-off-by: Abhishek Dubey Tested-by: Venkat Rao Bagalkote Acked-by: Hari Bathini Signed-off-by: Madhavan Srinivasan Link: https://patch.msgid.link/20260401152133.42544-3-adubey@linux.ibm.com --- 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 269870bec9411..482d38b9c29e1 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 #include -#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";