diff options
| author | Paul Gortmaker <[email protected]> | 2016-07-11 16:51:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-07-11 20:52:43 +0000 |
| commit | a536a6e13ecd0d6eb0ffc36c5d56555896617282 (patch) | |
| tree | bafd2948a95ce779e5df76f7ad0505647473cb5a /net/switchdev/switchdev.c | |
| parent | nfp: check idx is -ENOSPC before using it is an index (diff) | |
| download | kernel-a536a6e13ecd0d6eb0ffc36c5d56555896617282.tar.gz kernel-a536a6e13ecd0d6eb0ffc36c5d56555896617282.zip | |
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Paul Gortmaker <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
