Add in symbols needed in the WITNESS_ENTER and WITNESS_EXIT macros in

i386/include/mutex.h.
This commit is contained in:
John Baldwin 2000-12-12 16:40:20 +00:00
parent 2b3d269b8b
commit 5057d21069
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69919
2 changed files with 10 additions and 0 deletions

View File

@ -228,5 +228,10 @@ ASSYM(VM86_FRAMESIZE, sizeof(struct vm86frame));
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
ASSYM(MTX_RECURSE, offsetof(struct mtx, mtx_recurse));
ASSYM(MTX_SAVEINTR, offsetof(struct mtx, mtx_saveintr));
#ifdef WITNESS
ASSYM(MTX_DEBUG, offsetof(struct mtx, mtx_debug));
ASSYM(MTXD_WITNESS, offsetof(struct mtx_debug, mtxd_witness));
#endif
ASSYM(MTX_UNOWNED, MTX_UNOWNED);
ASSYM(MTX_SPIN, MTX_SPIN);

View File

@ -228,5 +228,10 @@ ASSYM(VM86_FRAMESIZE, sizeof(struct vm86frame));
ASSYM(MTX_LOCK, offsetof(struct mtx, mtx_lock));
ASSYM(MTX_RECURSE, offsetof(struct mtx, mtx_recurse));
ASSYM(MTX_SAVEINTR, offsetof(struct mtx, mtx_saveintr));
#ifdef WITNESS
ASSYM(MTX_DEBUG, offsetof(struct mtx, mtx_debug));
ASSYM(MTXD_WITNESS, offsetof(struct mtx_debug, mtxd_witness));
#endif
ASSYM(MTX_UNOWNED, MTX_UNOWNED);
ASSYM(MTX_SPIN, MTX_SPIN);