bpf: Fix bpf_trampoline_{,un}link_cgroup_shim ifdef guards
authorStanislav Fomichev <sdf@google.com>
Wed, 20 Jul 2022 15:52:20 +0000 (08:52 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Wed, 20 Jul 2022 18:37:00 +0000 (20:37 +0200)
commit9cb61fda8c71baaff423fe5be2e609100860fa78
tree23f73feb5fa4973b7331a8d7de184fc6e1c651a3
parentb77ffb30cfc5f58e957571d8541c6a7e3da19221
bpf: Fix bpf_trampoline_{,un}link_cgroup_shim ifdef guards

They were updated in kernel/bpf/trampoline.c to fix another build
issue. We should to do the same for include/linux/bpf.h header.

Fixes: 3908fcddc65d ("bpf: fix lsm_cgroup build errors on esoteric configs")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Link: https://lore.kernel.org/bpf/20220720155220.4087433-1-sdf@google.com
include/linux/bpf.h