lkml.org 
[lkml]   [2007]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 24/36] Use menuconfig objects II - oprofile

Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
so that the user can disable all the options in that menu at once
instead of having to disable each option separately.

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

---
arch/i386/Kconfig | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
--- linux-2.6.21-mm_20070428.orig/arch/i386/Kconfig
+++ linux-2.6.21-mm_20070428/arch/i386/Kconfig
@@ -1210,8 +1210,12 @@ source "drivers/Kconfig"

source "fs/Kconfig"

-menu "Instrumentation Support"
+menuconfig INSTRUMENTATION
+ bool "Instrumentation Support"
depends on EXPERIMENTAL
+ default y
+
+if INSTRUMENTATION

source "arch/i386/oprofile/Kconfig"

@@ -1227,7 +1231,7 @@ config KPROBES

source "kernel/Kconfig.marker"

-endmenu
+endif # INSTRUMENTATION

source "arch/i386/Kconfig.debug"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-04-30 13:49    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site