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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v2: Modify patch #3 to avoid breaking user_ringbuf test on x86

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: Use __NR_prlimit64 instead of __NR_getrlimit in
    user_ringbuf test

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

-- 
2.1.0




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux