diff options
author | Yafang Shao <laoar.shao@gmail.com> | 2024-02-06 09:14:15 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-02-08 01:14:19 +0100 |
commit | ba6a6abb3bfa8377bcf386a11077c0533909f9e8 (patch) | |
tree | 2a279297c137645aa92eedc2632d6f675ab179ea /init | |
parent | selftests/bpf: Fix error checking for cpumask_success__load() (diff) | |
download | linux-ba6a6abb3bfa8377bcf386a11077c0533909f9e8.tar.xz linux-ba6a6abb3bfa8377bcf386a11077c0533909f9e8.zip |
selftests/bpf: Mark cpumask kfunc declarations as __weak
After the series "Annotate kfuncs in .BTF_ids section"[0], kfuncs can be
generated from bpftool. Let's mark the existing cpumask kfunc declarations
__weak so they don't conflict with definitions that will eventually come
from vmlinux.h.
[0]. https://lore.kernel.org/all/cover.1706491398.git.dxu@dxuuu.xyz
Suggested-by: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Daniel Xu <dxu@dxuuu.xyz>
Link: https://lore.kernel.org/bpf/20240206081416.26242-5-laoar.shao@gmail.com
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions