diff options
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c48260fb8fd9..1fcd856edec1 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -95,6 +95,14 @@ config DEBUG_PREEMPT | |||
95 | if kernel code uses it in a preemption-unsafe way. Also, the kernel | 95 | if kernel code uses it in a preemption-unsafe way. Also, the kernel |
96 | will detect preemption count underflows. | 96 | will detect preemption count underflows. |
97 | 97 | ||
98 | config DEBUG_MUTEXES | ||
99 | bool "Mutex debugging, deadlock detection" | ||
100 | default y | ||
101 | depends on DEBUG_KERNEL | ||
102 | help | ||
103 | This allows mutex semantics violations and mutex related deadlocks | ||
104 | (lockups) to be detected and reported automatically. | ||
105 | |||
98 | config DEBUG_SPINLOCK | 106 | config DEBUG_SPINLOCK |
99 | bool "Spinlock debugging" | 107 | bool "Spinlock debugging" |
100 | depends on DEBUG_KERNEL | 108 | depends on DEBUG_KERNEL |