[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1677235015-21717-1-git-send-email-yangtiezhu@loongson.cn>
Date: Fri, 24 Feb 2023 18:36:52 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>
Cc: bpf@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH bpf-next v2 0/3] Fix some build errors for bpf selftest on LoongArch
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
Powered by blists - more mailing lists