diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-07 02:55:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-07 02:55:36 -0400 |
commit | 77d05632baee21b1cef8730d7c06aa69601e4dca (patch) | |
tree | f7dde80fde8ebcd19cc23d08ffc74bdc2aceeafb | |
parent | 9f8d979f082a3ee1b27f32b7e0811b51c3ad1d15 (diff) |
softlockup: make DETECT_HUNG_TASK default depend on DETECT_SOFTLOCKUP
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>
-rw-r--r-- | lib/Kconfig.debug | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 4934eaa21e1e..898e07c33c3c 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -189,7 +189,7 @@ config BOOTPARAM_SOFTLOCKUP_PANIC_VALUE | |||
189 | config DETECT_HUNG_TASK | 189 | config DETECT_HUNG_TASK |
190 | bool "Detect Hung Tasks" | 190 | bool "Detect Hung Tasks" |
191 | depends on DEBUG_KERNEL | 191 | depends on DEBUG_KERNEL |
192 | default y | 192 | default DETECT_SOFTLOCKUP |
193 | help | 193 | help |
194 | Say Y here to enable the kernel to detect "hung tasks", | 194 | Say Y here to enable the kernel to detect "hung tasks", |
195 | which are bugs that cause the task to be stuck in | 195 | which are bugs that cause the task to be stuck in |