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:
Attilio Rao 2007-11-19 23:36:47 +00:00
parent f9f50330f3
commit d716b994dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173759

View file

@ -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