mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
revert rev 1.64; this is not needed with rev 1.49 of lock.h
as LOCK_DEBUG is implied by MUTEX_PROFILING which stops inline expansion of the mutex operations Supported by: FreeBSD Foundation
This commit is contained in:
parent
e6e636d539
commit
0fd7279efa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120247
|
@ -263,7 +263,7 @@ extern struct mtx_pool *mtxpool_sleep;
|
|||
#ifndef LOCK_DEBUG
|
||||
#error LOCK_DEBUG not defined, include <sys/lock.h> before <sys/mutex.h>
|
||||
#endif
|
||||
#if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE) || defined(MUTEX_PROFILING)
|
||||
#if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE)
|
||||
#define mtx_lock_flags(m, opts) \
|
||||
_mtx_lock_flags((m), (opts), LOCK_FILE, LOCK_LINE)
|
||||
#define mtx_unlock_flags(m, opts) \
|
||||
|
|
Loading…
Reference in a new issue