mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Unify assertion flags for all the main primitives using the LA_* underlying
family of macros. This will allow to use unified flags for assertions with the generic locking primitive class.
This commit is contained in:
parent
f9f50330f3
commit
d716b994dc
1 changed files with 4 additions and 4 deletions
|
|
@ -421,10 +421,10 @@ struct mtx_args {
|
|||
* _mtx_assert() must build.
|
||||
*/
|
||||
#if defined(INVARIANTS) || defined(INVARIANT_SUPPORT)
|
||||
#define MA_OWNED 0x01
|
||||
#define MA_NOTOWNED 0x02
|
||||
#define MA_RECURSED 0x04
|
||||
#define MA_NOTRECURSED 0x08
|
||||
#define MA_OWNED LA_XLOCKED
|
||||
#define MA_NOTOWNED LA_UNLOCKED
|
||||
#define MA_RECURSED LA_RECURSED
|
||||
#define MA_NOTRECURSED LA_NOTRECURSED
|
||||
#endif
|
||||
|
||||
#ifdef INVARIANTS
|
||||
|
|
|
|||
Loading…
Reference in a new issue