[PATCH] DEBUG_KOBJECT vs. DYNAMIC_PRINTK_DEBUG

From: Cornelia Huck
Date: Tue Dec 02 2008 - 08:53:15 EST


DEBUG_KOBJECT has no effect when DYNAMIC_PRINTK_DEBUG is set
(and you can get the messages via that feature), so let's make
it depend on !DYNAMIC_PRINTK_DEBUG.

Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
---
lib/Kconfig.debug | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.orig/lib/Kconfig.debug
+++ linux-2.6/lib/Kconfig.debug
@@ -450,7 +450,7 @@ config STACKTRACE

config DEBUG_KOBJECT
bool "kobject debugging"
- depends on DEBUG_KERNEL
+ depends on DEBUG_KERNEL && !DYNAMIC_PRINTK_DEBUG
help
If you say Y here, some extra kobject debugging messages will be sent
to the syslog.
--
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/