Re: 2.6.21-mm2 - Kconfig horkage

From: Christoph Lameter
Date: Wed May 09 2007 - 14:36:44 EST


On Wed, 9 May 2007, Valdis.Kletnieks@xxxxxx wrote:

> Just seemed odd to do a 'make oldconfig' and get prompted for the value, and it
> gave a value of 'Y' to a debug option of a feature that wasn't selected. :)

Indeed strange. This should fix it.



SLUB: SLUB_DEBUG must depend on SLUB

Otherwise people get asked about SLUB_DEBUG even if they have another
slab allocator enabled.

Signed-off-by: Christoph Lameter <clameter@xxxxxxx>

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

Index: slub/init/Kconfig
===================================================================
--- slub.orig/init/Kconfig 2007-05-09 11:32:40.000000000 -0700
+++ slub/init/Kconfig 2007-05-09 11:33:26.000000000 -0700
@@ -569,6 +569,7 @@ config VM_EVENT_COUNTERS
config SLUB_DEBUG
default y
bool "Enable SLUB debugging support" if EMBEDDED
+ depends on SLUB
help
SLUB has extensive debug support features. Disabling these can
result in significant savings in code size. This also disables
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/