summaryrefslogtreecommitdiff
path: root/init/Kconfig
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-07-15 23:39:29 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 09:05:40 -0700
commit66da57332005b4fa6888cc21a223c0b90505126f (patch)
treebdbe0080d7186223b21840ab63d7bd2ab20733bc /init/Kconfig
parent376df37a5b472ff9a0b71218fc50576ef3803275 (diff)
downloadlinux-3.10-66da57332005b4fa6888cc21a223c0b90505126f.tar.gz
linux-3.10-66da57332005b4fa6888cc21a223c0b90505126f.tar.bz2
linux-3.10-66da57332005b4fa6888cc21a223c0b90505126f.zip
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 <jengelh@gmx.de> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 63d52a089a9..73e91983760 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"