[PATCH 15/30] Use menuconfig objects - module menu

Jan Engelhardt
2007-04-10T21:23:48Z

Use menuconfigs instead of menus, so the whole menu can be disabled at
once instead of going through all options.

This one also touches the block menu, so needs to go handinhand with
[PATCH 04/30] Use meunconfig objects - block. (I just noticed now -
sorry)

Signed-off-by: Jan Engelhardt <jengelh@gmx.de>

Index: linux-2.6.21-rc5/init/Kconfig
===================================================================
--- linux-2.6.21-rc5.orig/init/Kconfig
+++ linux-2.6.21-rc5/init/Kconfig
@@ -511,9 +511,7 @@ config SLOB
default !SLAB
bool

-menu "Loadable module support"
-
-config MODULES
+menuconfig MODULES
bool "Enable loadable module support"
help
Kernel modules are small pieces of compiled code which can
@@ -593,8 +591,5 @@ config STOP_MACHINE
depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
help
Need stop_machine() primitive.
-endmenu

-menu "Block layer"
source "block/Kconfig"
-endmenu
#<EOF>