diff options
| author | Merlin Scholz <merlin@scholz.ruhr> | 2023-04-01 22:18:22 +0200 |
|---|---|---|
| committer | Merlin Scholz <merlin@scholz.ruhr> | 2023-04-01 22:18:22 +0200 |
| commit | a71815af6db40d382f8265b32e1c3c1aba8ebf94 (patch) | |
| tree | 4f3fd9db604574c9b66ce6f3f27d70da18805a0d | |
| parent | 9825a41fa486bda5faab691ca59c11895b13ee7f (diff) | |
Fix kmutexes in the same way we fixed rwlocks in the last commitlockdoc-9.3-0.5
| -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) { |
