summaryrefslogtreecommitdiff
path: root/kernel/bpf/link_iter.c
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-08-02 11:07:06 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2025-08-02 11:07:06 +0800
commit0a91336e287ca2557fead5221d2c79e0effd034e (patch)
tree3acfb76800d995a06e2a6932d683e67ecb1c5590 /kernel/bpf/link_iter.c
parent038d61fd642278bab63ee8ef722c50d10ab01e8f (diff)
parentcd7c97f4584a93578f87ea6ff427f74e9a943cdf (diff)
Merge tag 'bpf-next-6.17' into loongarch-next
LoongArch architecture changes for 6.17 have many bpf features such as trampoline, so merge 'bpf-next-6.17' to create a base to make bpf work well.
Diffstat (limited to 'kernel/bpf/link_iter.c')
-rw-r--r--kernel/bpf/link_iter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/bpf/link_iter.c b/kernel/bpf/link_iter.c
index fec8005a121c..8158e9c1af7b 100644
--- a/kernel/bpf/link_iter.c
+++ b/kernel/bpf/link_iter.c
@@ -78,8 +78,7 @@ static const struct seq_operations bpf_link_seq_ops = {
.show = bpf_link_seq_show,
};
-BTF_ID_LIST(btf_bpf_link_id)
-BTF_ID(struct, bpf_link)
+BTF_ID_LIST_SINGLE(btf_bpf_link_id, struct, bpf_link)
static const struct bpf_iter_seq_info bpf_link_seq_info = {
.seq_ops = &bpf_link_seq_ops,