bpf: make inode code explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 11 Jul 2016 16:51:01 +0000 (12:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jul 2016 20:52:43 +0000 (13:52 -0700)
commita536a6e13ecd0d6eb0ffc36c5d56555896617282
treebafd2948a95ce779e5df76f7ad0505647473cb5a
parentf50cef6f77d08fced02eba7ac7c1cab4972c3786
bpf: make inode code explicitly non-modular

The Kconfig currently controlling compilation of this code is:

init/Kconfig:config BPF_SYSCALL
init/Kconfig:   bool "Enable bpf() system call"

...meaning that it currently is not being built as a module by anyone.

Lets remove the couple traces of modular infrastructure use, so that
when reading the driver there is no doubt it is builtin-only.

Note that MODULE_ALIAS is a no-op for non-modular code.

We replace module.h with init.h since the file does use __init.

Cc: Alexei Starovoitov <ast@kernel.org>
Cc: netdev@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/inode.c