From: Jan Engelhardt Change menuconfig objects from "menu, config" into "menuconfig" so that the user can disable the whole feature without entering its menu first. Signed-off-by: Jan Engelhardt Cc: Rusty Russell Signed-off-by: Andrew Morton --- init/Kconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff -puN init/Kconfig~use-menuconfig-objects-ii-module-menu init/Kconfig --- a/init/Kconfig~use-menuconfig-objects-ii-module-menu +++ a/init/Kconfig @@ -638,9 +638,7 @@ config BASE_SMALL default 0 if BASE_FULL default 1 if !BASE_FULL -menu "Loadable module support" - -config MODULES +menuconfig MODULES bool "Enable loadable module support" help Kernel modules are small pieces of compiled code which can @@ -720,6 +718,5 @@ config STOP_MACHINE depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU help Need stop_machine() primitive. -endmenu source "block/Kconfig" _