From owner-p4-projects Wed Jul 31 7:35:44 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 5E56C37B401; Wed, 31 Jul 2002 07:35:40 -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 032FD37B400 for ; Wed, 31 Jul 2002 07:35:40 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B89A543E31 for ; Wed, 31 Jul 2002 07:35:39 -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 g6VEZdJU066982 for ; Wed, 31 Jul 2002 07:35:39 -0700 (PDT) (envelope-from jhb@freebsd.org) Received: (from perforce@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6VEZdkp066979 for perforce@freebsd.org; Wed, 31 Jul 2002 07:35:39 -0700 (PDT) Date: Wed, 31 Jul 2002 07:35:39 -0700 (PDT) Message-Id: <200207311435.g6VEZdkp066979@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to jhb@freebsd.org using -f From: John Baldwin Subject: PERFORCE change 15307 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=15307 Change 15307 by jhb@jhb_zion on 2002/07/31 07:35:31 Once again, I'm a moron. Affected files ... .. //depot/projects/smpng/sys/kern/kern_mutex.c#44 edit Differences ... ==== //depot/projects/smpng/sys/kern/kern_mutex.c#44 (text+ko) ==== @@ -409,7 +409,7 @@ { MPASS(curthread != NULL); - KASSERT(m->mtx_object.lo_class == &lock_class_mtx_sleep, + KASSERT(m->mtx_object.lo_class == &lock_class_mtx_spin, ("mtx_lock_spin() of sleep mutex %s @ %s:%d", m->mtx_object.lo_name, file, line)); #if defined(SMP) || LOCK_DEBUG > 0 @@ -427,7 +427,7 @@ { MPASS(curthread != NULL); - KASSERT(m->mtx_object.lo_class == &lock_class_mtx_sleep, + KASSERT(m->mtx_object.lo_class == &lock_class_mtx_spin, ("mtx_unlock_spin() of sleep mutex %s @ %s:%d", m->mtx_object.lo_name, file, line)); WITNESS_UNLOCK(&m->mtx_object, opts | LOP_EXCLUSIVE, file, line); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message