diff options
author | Daniel Xu <dxu@dxuuu.xyz> | 2021-08-24 05:43:47 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-08-25 20:37:05 +0300 |
commit | 33c5cb36015ac1034b50b823fae367e908d05147 (patch) | |
tree | 79482778198c299e50ec4153dede146ae87d9984 /include/linux/btf_ids.h | |
parent | 1b07d00a15d6a96d1a36b6a284c4fd5f2e2fa383 (diff) |
bpf: Consolidate task_struct BTF_ID declarations
No need to have it defined 5 times. Once is enough.
Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/6dcefa5bed26fe1226f26683f36819bb53ec19a2.1629772842.git.dxu@dxuuu.xyz
Diffstat (limited to 'include/linux/btf_ids.h')
-rw-r--r-- | include/linux/btf_ids.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/btf_ids.h b/include/linux/btf_ids.h index 6d1395030616..93d881ab0d48 100644 --- a/include/linux/btf_ids.h +++ b/include/linux/btf_ids.h @@ -188,4 +188,6 @@ MAX_BTF_SOCK_TYPE, extern u32 btf_sock_ids[]; #endif +extern u32 btf_task_struct_ids[]; + #endif |