]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ebpf: move CONFIG_BPF_SYSCALL-only function declarations
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 2 Mar 2015 14:21:55 +0000 (15:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Mar 2015 20:08:30 +0000 (15:08 -0500)
commit61e021f3b86cbbcc04cbe8ac7b7da2b8c94b5e8e
treeb5966088ce65b003b920fdce3aa6561064ae0e3c
parent77f0379fa8823e5267509dfff83803a88bb297b0
ebpf: move CONFIG_BPF_SYSCALL-only function declarations

Masami noted that it would be better to hide the remaining CONFIG_BPF_SYSCALL-only
function declarations within the BPF header ifdef, w/o else path dummy alternatives
since these functions are not supposed to have a user outside of CONFIG_BPF_SYSCALL.

Suggested-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Reference: http://article.gmane.org/gmane.linux.kernel.api/8658
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/bpf.h