From: Ingo Molnar Cc: Arjan van de Ven Signed-off-by: Andrew Morton --- lib/Kconfig.debug | 4 ++++ 1 file changed, 4 insertions(+) diff -puN lib/Kconfig.debug~lock-validator-enable-lock-validator-in-kconfig-require-trace_irqflags_support lib/Kconfig.debug --- devel/lib/Kconfig.debug~lock-validator-enable-lock-validator-in-kconfig-require-trace_irqflags_support 2006-06-09 15:18:43.000000000 -0700 +++ devel-akpm/lib/Kconfig.debug 2006-06-09 15:18:43.000000000 -0700 @@ -162,6 +162,7 @@ config DEBUG_SPINLOCK config PROVE_SPIN_LOCKING bool "Prove spin-locking correctness" + depends on TRACE_IRQFLAGS_SUPPORT default y help This feature enables the kernel to prove that all spinlock @@ -199,6 +200,7 @@ config PROVE_SPIN_LOCKING config PROVE_RW_LOCKING bool "Prove rw-locking correctness" + depends on TRACE_IRQFLAGS_SUPPORT default y help This feature enables the kernel to prove that all rwlock @@ -236,6 +238,7 @@ config PROVE_RW_LOCKING config PROVE_MUTEX_LOCKING bool "Prove mutex-locking correctness" + depends on TRACE_IRQFLAGS_SUPPORT default y help This feature enables the kernel to prove that all mutexlock @@ -273,6 +276,7 @@ config PROVE_MUTEX_LOCKING config PROVE_RWSEM_LOCKING bool "Prove rwsem-locking correctness" + depends on TRACE_IRQFLAGS_SUPPORT default y help This feature enables the kernel to prove that all rwsemlock _