All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] init/Kconfig: Fix break in middle of EXPERT menu
@ 2015-05-14 15:35 Josh Triplett
  2015-05-14 15:35 ` [PATCH 2/5] init/Kconfig: Split expert menu into a separate file, init/Kconfig.expert Josh Triplett
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Josh Triplett @ 2015-05-14 15:35 UTC (permalink / raw)
  To: Ingo Molnar, Andrew Morton, Paul E. McKenney, Michal Hocko,
	Josh Triplett, Vladimir Davydov, Johannes Weiner,
	Geert Uytterhoeven, Andy Lutomirski, Bertrand Jacquin,
	Luis R. Rodriguez, Iulia Manda, Pranith Kumar, Clark Williams,
	Mel Gorman, Randy Dunlap, Paul Bolle, Michal Marek, linux-kbuild,
	linux-kernel

Commit e1abf2cc8d5 ("bpf: Fix the build on BPF_SYSCALL=y &&
!CONFIG_TRACING kernels, make it more configurable") made BPF_SYSCALL no
longer hidden with !EXPERT, but left it in the middle of the EXPERT
menu.  menuconfig stops putting config items under a submenu once it
encounters an item that doesn't depend on the menu's config item, so
this caused the remainder of the EXPERT menu to spill out into the
containing menu around it.  Fix by moving BPF_SYSCALL before the EXPERT
menu, next to BPF.

Fixes: e1abf2cc8d5 ("bpf: Fix the build on BPF_SYSCALL=y && !CONFIG_TRACING kernels, make it more configurable")
Signed-off-by: Josh Triplett <josh@joshtriplett.org>
---
 init/Kconfig | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index dc24dec..e2f16f1 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1341,6 +1341,16 @@ config HAVE_PCSPKR_PLATFORM
 config BPF
 	bool
 
+# syscall, maps, verifier
+config BPF_SYSCALL
+	bool "Enable bpf() system call"
+	select ANON_INODES
+	select BPF
+	default n
+	help
+	  Enable the bpf() system call that allows to manipulate eBPF
+	  programs and maps via file descriptors.
+
 menuconfig EXPERT
 	bool "Configure standard kernel features (expert users)"
 	# Unhide debug options, to make the on-by-default options visible
@@ -1535,16 +1545,6 @@ config EVENTFD
 
 	  If unsure, say Y.
 
-# syscall, maps, verifier
-config BPF_SYSCALL
-	bool "Enable bpf() system call"
-	select ANON_INODES
-	select BPF
-	default n
-	help
-	  Enable the bpf() system call that allows to manipulate eBPF
-	  programs and maps via file descriptors.
-
 config SHMEM
 	bool "Use full shmem filesystem" if EXPERT
 	default y
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-05-28 18:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14 15:35 [PATCH 1/5] init/Kconfig: Fix break in middle of EXPERT menu Josh Triplett
2015-05-14 15:35 ` [PATCH 2/5] init/Kconfig: Split expert menu into a separate file, init/Kconfig.expert Josh Triplett
2015-05-28  9:24   ` Paul Bolle
2015-05-14 15:35 ` [PATCH 3/5] kconfig: Regenerate parser with current Bison prior to making changes Josh Triplett
2015-05-28  9:34   ` Paul Bolle
2015-05-14 15:36 ` [PATCH 4/5] kconfig: Introduce "showif" to factor out conditions on visibility Josh Triplett
2015-05-20 10:00   ` Paul Bolle
2015-05-20 18:30     ` josh
2015-05-20 18:30       ` josh
2015-05-28 14:57       ` Paul Bolle
2015-05-28 18:28       ` Paul Bolle
2015-05-28 18:17   ` Paul Bolle
2015-05-28 18:23     ` Paul Bolle
2015-05-14 15:36 ` [PATCH 5/5] init/Kconfig.expert: Factor out "if EXPERT" conditions using showif Josh Triplett
2015-05-14 15:46 ` [PATCH 1/5] init/Kconfig: Fix break in middle of EXPERT menu josh
2015-05-28  8:41 ` Paul Bolle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.