diff options
author | Hao Luo <[email protected]> | 2022-03-10 13:16:55 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-03-10 19:13:12 -0800 |
commit | 6789ab9668d920d7be636cb994d85be9a816f9d5 (patch) | |
tree | 89bf4588f89c9790c78d34a77b8a28c06cf1fbb9 /lib/string_helpers.c | |
parent | a77c2cfd4ee4bfb5267653dad3de8ec45a58b0b7 (diff) |
compiler_types: Refactor the use of btf_type_tag attribute.
Previous patches have introduced the compiler attribute btf_type_tag for
__user and __percpu. The availability of this attribute depends on
some CONFIGs and compiler support. This patch refactors the use
of btf_type_tag by introducing BTF_TYPE_TAG, which hides all the
dependencies.
No functional change.
Suggested-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Hao Luo <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions