mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 22:33:39 +00:00
Bah, I missed this file on the last commit
This commit is contained in:
parent
2d68bf45bf
commit
a1078af4df
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87326
|
@ -255,12 +255,12 @@ TAILQ_HEAD(aac_container_tq, aac_container);
|
||||||
#include <sys/mutex.h>
|
#include <sys/mutex.h>
|
||||||
typedef struct mtx aac_lock_t;
|
typedef struct mtx aac_lock_t;
|
||||||
#define AAC_LOCK_INIT(l, s) mtx_init(l, s, MTX_DEF)
|
#define AAC_LOCK_INIT(l, s) mtx_init(l, s, MTX_DEF)
|
||||||
#define AAC_LOCK_AQUIRE(l) mtx_lock(l)
|
#define AAC_LOCK_ACQUIRE(l) mtx_lock(l)
|
||||||
#define AAC_LOCK_RELEASE(l) mtx_unlock(l)
|
#define AAC_LOCK_RELEASE(l) mtx_unlock(l)
|
||||||
#else
|
#else
|
||||||
typedef struct simplelock aac_lock_t;
|
typedef struct simplelock aac_lock_t;
|
||||||
#define AAC_LOCK_INIT(l, s) simple_lock_init(l)
|
#define AAC_LOCK_INIT(l, s) simple_lock_init(l)
|
||||||
#define AAC_LOCK_AQUIRE(l) simple_lock(l)
|
#define AAC_LOCK_ACQUIRE(l) simple_lock(l)
|
||||||
#define AAC_LOCK_RELEASE(l) simple_unlock(l)
|
#define AAC_LOCK_RELEASE(l) simple_unlock(l)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue