]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
softlockup: make DETECT_HUNG_TASK default depend on DETECT_SOFTLOCKUP
authorIngo Molnar <mingo@elte.hu>
Tue, 7 Apr 2009 06:55:36 +0000 (08:55 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 7 Apr 2009 06:55:36 +0000 (08:55 +0200)
Don't offer a default-y option when the user has turned off
CONFIG_DETECT_SOFTLOCKUP already.

Do offer it as 'y' only if DETECT_SOFTLOCKUP is on already.

This makes it match previous behavior - where the hung-task check was
embedded i CONFIG_DETECT_SOFTLOCKUP code.

Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
lib/Kconfig.debug

index 4934eaa21e1e13b2bad4fa30e27a6fc91621aa69..898e07c33c3cc5fd84a723aa15664b08c7dfc9af 100644 (file)
@@ -189,7 +189,7 @@ config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE
 config DETECT_HUNG_TASK
        bool "Detect Hung Tasks"
        depends on DEBUG_KERNEL
-       default y
+       default DETECT_SOFTLOCKUP
        help
          Say Y here to enable the kernel to detect "hung tasks",
          which are bugs that cause the task to be stuck in