diff options
| author | Merlin Scholz <merlin@scholz.ruhr> | 2023-04-01 22:18:22 +0200 |
|---|---|---|
| committer | Merlin Scholz <merlin@scholz.ruhr> | 2023-07-10 00:51:04 +0200 |
| commit | 8f2fda6e6b52bc95b0e3803539e03e89f9f561a8 (patch) | |
| tree | 2252226663e05e1b97b7b235f771ad6c82078db6 | |
| parent | 0f3dc6c552ffdf06435a823125f3de1d953a844e (diff) | |
Fix kmutexes in the same way we fixed rwlocks in the last commit
| -rw-r--r-- | sys/lockdoc/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lockdoc/log.c b/sys/lockdoc/log.c index 4781d6570e7..9f63e336958 100644 --- a/sys/lockdoc/log.c +++ b/sys/lockdoc/log.c @@ -16,8 +16,8 @@ inline void __mutex_enter(kmutex_t * lock, const char* file, int line, const cha } inline void __mutex_exit(kmutex_t * lock, const char* file, int line, const char* func) { - _mutex_exit(lock); lockdoc_log_lock(V_WRITE, lock, file, line, func, LOCK_TYPE, LOCK_NONE); + _mutex_exit(lock); } inline void __mutex_spin_enter(kmutex_t * lock, const char* file, int line, const char* func) { @@ -26,8 +26,8 @@ inline void __mutex_spin_enter(kmutex_t * lock, const char* file, int line, cons } inline void __mutex_spin_exit(kmutex_t * lock, const char* file, int line, const char* func) { - _mutex_spin_exit(lock); lockdoc_log_lock(V_WRITE, lock, file, line, func, LOCK_TYPE, LOCK_NONE); + _mutex_spin_exit(lock); } inline int __mutex_tryenter(kmutex_t * lock, const char* file, int line, const char* func) { |
