John Baldwin <[EMAIL PROTECTED]> writes: > Log: > Trim another pointer from struct lock_object (and thus from struct mtx and > struct sx). [...]
Missed one... DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED]
Index: sys/kern/kern_mutex.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_mutex.c,v retrieving revision 1.160 diff -u -r1.160 kern_mutex.c --- sys/kern/kern_mutex.c 6 Jan 2006 18:07:31 -0000 1.160 +++ sys/kern/kern_mutex.c 6 Jan 2006 22:52:21 -0000 @@ -884,7 +884,7 @@ MPASS((m->mtx_lock & (MTX_RECURSED|MTX_CONTESTED)) == 0); /* Perform the non-mtx related part of mtx_unlock_spin(). */ - if (m->mtx_object.lo_class == &lock_class_mtx_spin) + if (LO_CLASSINDEX(&m->mtx_object) == LOCK_CLASS_SPIN_MUTEX) spinlock_exit(); /* Tell witness this isn't locked to make it happy. */
_______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"