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-05-30 14:29:24.000000000 -0700 +++ devel-akpm/lib/Kconfig.debug 2006-05-30 14:29:24.000000000 -0700 @@ -172,6 +172,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 @@ -209,6 +210,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 @@ -246,6 +248,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 @@ -283,6 +286,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 _