Commit 77d05632baee21b1cef8730d7c06aa69601e4dca
1 parent
9f8d979f08
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
lib/Kconfig.debug
... | ... | @@ -189,7 +189,7 @@ |
189 | 189 | config DETECT_HUNG_TASK |
190 | 190 | bool "Detect Hung Tasks" |
191 | 191 | depends on DEBUG_KERNEL |
192 | - default y | |
192 | + default DETECT_SOFTLOCKUP | |
193 | 193 | help |
194 | 194 | Say Y here to enable the kernel to detect "hung tasks", |
195 | 195 | which are bugs that cause the task to be stuck in |