commit | ba6a6abb3bfa8377bcf386a11077c0533909f9e8 | [log] [tgz] |
---|---|---|
author | Yafang Shao <laoar.shao@gmail.com> | Tue Feb 06 16:14:15 2024 +0800 |
committer | Andrii Nakryiko <andrii@kernel.org> | Wed Feb 07 16:14:19 2024 -0800 |
tree | 2a279297c137645aa92eedc2632d6f675ab179ea | |
parent | a2bff65cfca93f0fe4c5996f55ce8f413e85e4fe [diff] |
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