From: Jan Engelhardt Date: Mon, 16 Jul 2007 06:39:29 +0000 (-0700) Subject: Use menuconfig objects II - module menu X-Git-Tag: v2.6.23-rc1~967 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66da57332005b4fa6888cc21a223c0b90505126f;p=linux-2.6 Use menuconfig objects II - module menu 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 Signed-off-by: Linus Torvalds --- diff --git a/init/Kconfig b/init/Kconfig index 63d52a089a..73e9198376 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -602,9 +602,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 @@ -684,6 +682,5 @@ config STOP_MACHINE depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU help Need stop_machine() primitive. -endmenu source "block/Kconfig"