]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b218bd86ad609d3b355c97cedc2f041eef9fa2c
tree23f73feb5fa4973b7331a8d7de184fc6e1c651a3
parent49e4da832d16ea4469708028731713e4b2d12ea0
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: 727b576fd746 ("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