mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
selftests/bpf: Enable kptr_xchg_inline test on LoongArch
Enable the kptr_xchg_inline functional test on LoongArch64 now that the BPF JIT can inline bpf_kptr_xchg() with correct memory ordering. Acked-by: Hengqi Chen <hengqi.chen@gmail.com> Acked-by: Tiezhu Yang <yangtiezhu@loongson.cn> Tested-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Chenguang Zhao <zhaochenguang@kylinos.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
This commit is contained in:
parent
e7103e5e3b
commit
6afb035996
|
|
@ -14,7 +14,8 @@ void test_kptr_xchg_inline(void)
|
|||
int err;
|
||||
|
||||
#if !(defined(__x86_64__) || defined(__aarch64__) || \
|
||||
(defined(__riscv) && __riscv_xlen == 64))
|
||||
(defined(__riscv) && __riscv_xlen == 64) || \
|
||||
(defined(__loongarch__) && __loongarch_grlen == 64))
|
||||
test__skip();
|
||||
return;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user