[PATCH 19/36] Use menuconfig objects II - module menu

2007-04-30 Thread Jan Engelhardt

(This one depends on [PATCH 01/36] as `quilt graph` tells me.)

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 <[EMAIL PROTECTED]>

---
 init/Kconfig |5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

--- linux-2.6.21-mm_20070428.orig/init/Kconfig
+++ linux-2.6.21-mm_20070428/init/Kconfig
@@ -657,9 +657,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
@@ -739,6 +737,5 @@ config STOP_MACHINE
depends on (SMP && MODULE_UNLOAD) || HOTPLUG_CPU
help
  Need stop_machine() primitive.
-endmenu
 
 source "block/Kconfig"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 19/36] Use menuconfig objects II - module menu

2007-04-30 Thread Jan Engelhardt

(This one depends on [PATCH 01/36] as `quilt graph` tells me.)

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 [EMAIL PROTECTED]

---
 init/Kconfig |5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

--- linux-2.6.21-mm_20070428.orig/init/Kconfig
+++ linux-2.6.21-mm_20070428/init/Kconfig
@@ -657,9 +657,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
@@ -739,6 +737,5 @@ config STOP_MACHINE
depends on (SMP  MODULE_UNLOAD) || HOTPLUG_CPU
help
  Need stop_machine() primitive.
-endmenu
 
 source block/Kconfig
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/