Date: Wed, 31 Jul 2002 07:08:55 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 15301 for review Message-ID: <200207311408.g6VE8ttL058704@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15301 Change 15301 by jhb@jhb_zion on 2002/07/31 07:08:20 Bah, more bogons. Affected files ... .. //depot/projects/smpng/sys/kern/kern_mutex.c#43 edit Differences ... ==== //depot/projects/smpng/sys/kern/kern_mutex.c#43 (text+ko) ==== @@ -316,8 +316,8 @@ { MPASS(curthread != NULL); - KASSERT(m->mtx_object->lo_class == &lock_class_mtx_sleep, - ("mtx_lock() of spin mutex %s @ %s:%d", m->mtx_object->lo_name, + KASSERT(m->mtx_object.lo_class == &lock_class_mtx_sleep, + ("mtx_lock() of spin mutex %s @ %s:%d", m->mtx_object.lo_name, file, line)); _get_sleep_lock(m, curthread, opts, file, line); LOCK_LOG_LOCK("LOCK", &m->mtx_object, opts, m->mtx_recurse, file, @@ -339,8 +339,8 @@ { MPASS(curthread != NULL); - KASSERT(m->mtx_object->lo_class == &lock_class_mtx_sleep, - ("mtx_unlock() of spin mutex %s @ %s:%d", m->mtx_object->lo_name, + KASSERT(m->mtx_object.lo_class == &lock_class_mtx_sleep, + ("mtx_unlock() of spin mutex %s @ %s:%d", m->mtx_object.lo_name, file, line)); WITNESS_UNLOCK(&m->mtx_object, opts | LOP_EXCLUSIVE, file, line); LOCK_LOG_LOCK("UNLOCK", &m->mtx_object, opts, m->mtx_recurse, file, @@ -409,9 +409,9 @@ { MPASS(curthread != NULL); - KASSERT(m->mtx_object->lo_class == &lock_class_mtx_sleep, + KASSERT(m->mtx_object.lo_class == &lock_class_mtx_sleep, ("mtx_lock_spin() of sleep mutex %s @ %s:%d", - m->mtx_object->lo_name, file, line)); + m->mtx_object.lo_name, file, line)); #if defined(SMP) || LOCK_DEBUG > 0 _get_spin_lock(m, curthread, opts, file, line); #else @@ -427,9 +427,9 @@ { MPASS(curthread != NULL); - KASSERT(m->mtx_object->lo_class == &lock_class_mtx_sleep, + KASSERT(m->mtx_object.lo_class == &lock_class_mtx_sleep, ("mtx_unlock_spin() of sleep mutex %s @ %s:%d", - m->mtx_object->lo_name, file, line)); + m->mtx_object.lo_name, file, line)); WITNESS_UNLOCK(&m->mtx_object, opts | LOP_EXCLUSIVE, file, line); LOCK_LOG_LOCK("UNLOCK", &m->mtx_object, opts, m->mtx_recurse, file, line); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207311408.g6VE8ttL058704>