Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2002 07:35:39 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15307 for review
Message-ID:  <200207311435.g6VEZdkp066979@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207311435.g6VEZdkp066979>