mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Don't inline mutexes in the LOCK_DEBUG case.
This commit is contained in:
parent
8c7e62a632
commit
58dac15e58
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83590
@ -238,7 +238,7 @@ void _mtx_assert(struct mtx *m, int what, const char *file, int line);
|
||||
#define mtx_unlock(m) mtx_unlock_flags((m), 0)
|
||||
#define mtx_unlock_spin(m) mtx_unlock_spin_flags((m), 0)
|
||||
|
||||
#ifdef KLD_MODULE
|
||||
#ifdef LOCK_DEBUG
|
||||
#define mtx_lock_flags(m, opts) \
|
||||
_mtx_lock_flags((m), (opts), __FILE__, __LINE__)
|
||||
#define mtx_unlock_flags(m, opts) \
|
||||
|
Loading…
Reference in New Issue
Block a user