selftests/bpf: Enable kptr_xchg_inline test for arm64

Now arm64 bpf jit has enable bpf_jit_supports_ptr_xchg(), so enable
the test for arm64 as well.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20240119102529.99581-3-houtao@huaweicloud.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
This commit is contained in:
Hou Tao 2024-01-19 18:25:29 +08:00 committed by Alexei Starovoitov
parent 18a45f12d7
commit 29f868887a

View file

@ -13,7 +13,7 @@ void test_kptr_xchg_inline(void)
unsigned int cnt;
int err;
#if !defined(__x86_64__)
#if !(defined(__x86_64__) || defined(__aarch64__))
test__skip();
return;
#endif