From owner-p4-projects Wed Jul 31 7: 9: 2 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 7CF3C37B401; Wed, 31 Jul 2002 07:08:56 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 171E637B400 for ; Wed, 31 Jul 2002 07:08:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B07B043E6E for ; Wed, 31 Jul 2002 07:08:55 -0700 (PDT) (envelope-from jhb@freebsd.org) Received: from freefall.freebsd.org (perforce@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6VE8tJU058707 for ; Wed, 31 Jul 2002 07:08:55 -0700 (PDT) (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6VE8ttL058704 for perforce@freebsd.org; Wed, 31 Jul 2002 07:08:55 -0700 (PDT) Date: Wed, 31 Jul 2002 07:08:55 -0700 (PDT) Message-Id: <200207311408.g6VE8ttL058704@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin Subject: PERFORCE change 15301 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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