Thread (3 messages) flat view 3 messages, 3 authors, 2016-07-11

Re: [PATCH -next] bpf: make inode code explicitly non-modular

From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2016-07-11 17:28:55
Also in: lkml

On 07/11/2016 06:51 PM, Paul Gortmaker wrote:
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 <redacted>
(Patch is for net-next tree then.)

Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help