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
6840ea324a
commit
fabadbbaf1
@ -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 New Issue
Block a user