Commit 29f86888 authored by Hou Tao's avatar Hou Tao Committed by Alexei Starovoitov

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: default avatarHou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/r/20240119102529.99581-3-houtao@huaweicloud.comSigned-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent 18a45f12
...@@ -13,7 +13,7 @@ void test_kptr_xchg_inline(void) ...@@ -13,7 +13,7 @@ void test_kptr_xchg_inline(void)
unsigned int cnt; unsigned int cnt;
int err; int err;
#if !defined(__x86_64__) #if !(defined(__x86_64__) || defined(__aarch64__))
test__skip(); test__skip();
return; return;
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment