mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
selftests/bpf: Enable inline bpf_kptr_xchg() test for RV64
Enable inline bpf_kptr_xchg() test for RV64, and the test have passed as show below: Summary: 1/0 PASSED, 0 SKIPPED, 0 FAILED Signed-off-by: Pu Lehui <pulehui@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Björn Töpel <bjorn@kernel.org> Link: https://lore.kernel.org/bpf/20240130124659.670321-3-pulehui@huaweicloud.com
This commit is contained in:
parent
69065aa11c
commit
994ff2f797
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ void test_kptr_xchg_inline(void)
|
|||
unsigned int cnt;
|
||||
int err;
|
||||
|
||||
#if !(defined(__x86_64__) || defined(__aarch64__))
|
||||
#if !(defined(__x86_64__) || defined(__aarch64__) || \
|
||||
(defined(__riscv) && __riscv_xlen == 64))
|
||||
test__skip();
|
||||
return;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue