diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 4 | ||||
| -rw-r--r-- | lib/locking-selftest.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index c1e720a22c71..dfdad67d8f6c 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
| @@ -1092,8 +1092,8 @@ config PROVE_LOCKING | |||
| 1092 | select DEBUG_MUTEXES | 1092 | select DEBUG_MUTEXES |
| 1093 | select DEBUG_RT_MUTEXES if RT_MUTEXES | 1093 | select DEBUG_RT_MUTEXES if RT_MUTEXES |
| 1094 | select DEBUG_LOCK_ALLOC | 1094 | select DEBUG_LOCK_ALLOC |
| 1095 | select LOCKDEP_CROSSRELEASE | 1095 | select LOCKDEP_CROSSRELEASE if BROKEN |
| 1096 | select LOCKDEP_COMPLETIONS | 1096 | select LOCKDEP_COMPLETIONS if BROKEN |
| 1097 | select TRACE_IRQFLAGS | 1097 | select TRACE_IRQFLAGS |
| 1098 | default n | 1098 | default n |
| 1099 | help | 1099 | help |
diff --git a/lib/locking-selftest.c b/lib/locking-selftest.c index cd0b5c964bd0..2b827b8a1d8c 100644 --- a/lib/locking-selftest.c +++ b/lib/locking-selftest.c | |||
| @@ -2031,11 +2031,13 @@ void locking_selftest(void) | |||
| 2031 | print_testname("mixed read-lock/lock-write ABBA"); | 2031 | print_testname("mixed read-lock/lock-write ABBA"); |
| 2032 | pr_cont(" |"); | 2032 | pr_cont(" |"); |
| 2033 | dotest(rlock_ABBA1, FAILURE, LOCKTYPE_RWLOCK); | 2033 | dotest(rlock_ABBA1, FAILURE, LOCKTYPE_RWLOCK); |
| 2034 | #ifdef CONFIG_PROVE_LOCKING | ||
| 2034 | /* | 2035 | /* |
| 2035 | * Lockdep does indeed fail here, but there's nothing we can do about | 2036 | * Lockdep does indeed fail here, but there's nothing we can do about |
| 2036 | * that now. Don't kill lockdep for it. | 2037 | * that now. Don't kill lockdep for it. |
| 2037 | */ | 2038 | */ |
| 2038 | unexpected_testcase_failures--; | 2039 | unexpected_testcase_failures--; |
| 2040 | #endif | ||
| 2039 | 2041 | ||
| 2040 | pr_cont(" |"); | 2042 | pr_cont(" |"); |
| 2041 | dotest(rwsem_ABBA1, FAILURE, LOCKTYPE_RWSEM); | 2043 | dotest(rwsem_ABBA1, FAILURE, LOCKTYPE_RWSEM); |
