Re: [PATCH bpf-next] libbpf: Add __NR_bpf definition for LoongArch

From: patchwork-bot+netdevbpf

Date: Thu May 28 2026 - 17:50:17 EST


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Tue, 26 May 2026 14:39:36 +0800 you wrote:
> LoongArch uses the generic syscall table, where __NR_bpf is defined
> as 280 in include/uapi/asm-generic/unistd.h.
>
> To align with other architectures, add the __NR_bpf definition for
> LoongArch to avoid a potential compilation failure: "error __NR_bpf
> not defined. libbpf does not support your arch."
>
> [...]

Here is the summary with links:
- [bpf-next] libbpf: Add __NR_bpf definition for LoongArch
https://git.kernel.org/bpf/bpf-next/c/a4a5d4ee0612

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html