mbox series

[bpf-next,0/3] Fix some build errors for bpf selftest on LoongArch

Message ID 1677066908-15224-1-git-send-email-yangtiezhu@loongson.cn (mailing list archive)
Headers show
Series Fix some build errors for bpf selftest on LoongArch | expand

Message

Tiezhu Yang Feb. 22, 2023, 11:55 a.m. UTC
Tiezhu Yang (3):
  libbpf: Use struct user_pt_regs to define __PT_REGS_CAST() for
    LoongArch
  selftests/bpf: Check __TARGET_ARCH_loongarch if target is bpf for
    LoongArch
  selftests/bpf: Check __ARCH_WANT_SET_GET_RLIMIT before
    syscall(__NR_getrlimit)

 tools/include/uapi/asm/bitsperlong.h                  | 2 +-
 tools/lib/bpf/bpf_tracing.h                           | 2 ++
 tools/testing/selftests/bpf/prog_tests/user_ringbuf.c | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)