aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn@kernel.org>2021-10-28 18:10:57 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2021-11-01 17:10:40 +0100
commit36e70b9b06bf14a0fac87315f0e73d6e17e80aad (patch)
tree5ee619da6c3c21b0d751c823fd2a3effcc30a977 /kernel/bpf
parentriscv, libbpf: Add RISC-V (RV64) support to bpf_tracing.h (diff)
downloadlinux-dev-36e70b9b06bf14a0fac87315f0e73d6e17e80aad.tar.xz
linux-dev-36e70b9b06bf14a0fac87315f0e73d6e17e80aad.zip
selftests, bpf: Fix broken riscv build
This patch is closely related to commit 6016df8fe874 ("selftests/bpf: Fix broken riscv build"). When clang includes the system include directories, but targeting BPF program, __BITS_PER_LONG defaults to 32, unless explicitly set. Work around this problem, by explicitly setting __BITS_PER_LONG to __riscv_xlen. Signed-off-by: Björn Töpel <bjorn@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20211028161057.520552-5-bjorn@kernel.org
Diffstat (limited to 'kernel/bpf')
0 files changed, 0 insertions, 0 deletions