aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2006-07-03 00:24:31 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-03 15:27:01 -0700
commitfb7e42413a098cc45b3adf858da290033af62bae (patch)
treeca8e9d46d0c16f7b3623caf42229c1c61b5a0026 /lib
parent36596243daf7e1d795c647de04af95e835b8c5b4 (diff)
downloadkernel_samsung_smdk4412-fb7e42413a098cc45b3adf858da290033af62bae.tar.gz
kernel_samsung_smdk4412-fb7e42413a098cc45b3adf858da290033af62bae.tar.bz2
kernel_samsung_smdk4412-fb7e42413a098cc45b3adf858da290033af62bae.zip
[PATCH] lockdep: remove mutex deadlock checking code
With the lock validator we detect mutex deadlocks (and more), the mutex deadlock checking code is both redundant and slower. So remove it. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index e4fcbd12cf6..7b3863d4f5e 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -115,14 +115,6 @@ config DEBUG_PREEMPT
if kernel code uses it in a preemption-unsafe way. Also, the kernel
will detect preemption count underflows.
-config DEBUG_MUTEXES
- bool "Mutex debugging, deadlock detection"
- default n
- depends on DEBUG_KERNEL
- help
- This allows mutex semantics violations and mutex related deadlocks
- (lockups) to be detected and reported automatically.
-
config DEBUG_RT_MUTEXES
bool "RT Mutex debugging, deadlock detection"
depends on DEBUG_KERNEL && RT_MUTEXES