Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bpf: Merge two CONFIG_BPF entries

'config BPF' exists in both init/Kconfig and kernel/bpf/Kconfig.

Commit b24abcff918a ("bpf, kconfig: Add consolidated menu entry for bpf
with core options") added the second one to kernel/bpf/Kconfig instead
of moving the existing one.

Merge them together.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20240204075634.32969-1-masahiroy@kernel.org

authored by

Masahiro Yamada and committed by
Andrii Nakryiko
e55dad12 ba6a6abb

+1 -5
-5
init/Kconfig
··· 1457 1457 config HAVE_PCSPKR_PLATFORM 1458 1458 bool 1459 1459 1460 - # interpreter that classic socket filters depend on 1461 - config BPF 1462 - bool 1463 - select CRYPTO_LIB_SHA1 1464 - 1465 1460 menuconfig EXPERT 1466 1461 bool "Configure standard kernel features (expert users)" 1467 1462 # Unhide debug options, to make the on-by-default options visible
+1
kernel/bpf/Kconfig
··· 3 3 # BPF interpreter that, for example, classic socket filters depend on. 4 4 config BPF 5 5 bool 6 + select CRYPTO_LIB_SHA1 6 7 7 8 # Used by archs to tell that they support BPF JIT compiler plus which 8 9 # flavour. Only one of the two can be selected for a specific arch since