]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: fix build without bpf_syscall
authorAlexei Starovoitov <ast@kernel.org>
Thu, 28 Feb 2019 02:30:44 +0000 (18:30 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 28 Feb 2019 23:44:58 +0000 (00:44 +0100)
commit15ce9411c59e602aead5b140c44a486afa972627
tree5bf3686ff3763e7045aebabdf5bc7388c291f5bc
parent2e2537ccad1fe8f40980cb346b42820bb1671c36
bpf: fix build without bpf_syscall

wrap bpf_stats_enabled sysctl with #ifdef

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 5dceb13db0ac ("bpf: enable program stats")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
kernel/sysctl.c