Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2002 12:27:51 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 15340 for review
Message-ID:  <200207311927.g6VJRpJw032396@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15340

Change 15340 by jhb@jhb_laptop on 2002/07/31 12:27:13

	IFC.

Affected files ...

.. //depot/projects/smpng/sys/kern/kern_mutex.c#45 integrate

Differences ...

==== //depot/projects/smpng/sys/kern/kern_mutex.c#45 (text+ko) ====

@@ -27,7 +27,7 @@
  *
  *	from BSDI $Id: mutex_witness.c,v 1.1.2.20 2000/04/27 03:10:27 cp Exp $
  *	and BSDI $Id: synch_machdep.c,v 2.3.2.39 2000/04/27 03:10:25 cp Exp $
- * $FreeBSD: src/sys/kern/kern_mutex.c,v 1.103 2002/07/03 01:50:27 des Exp $
+ * $FreeBSD: src/sys/kern/kern_mutex.c,v 1.104 2002/07/27 16:54:23 jhb Exp $
  */
 
 /*
@@ -412,7 +412,7 @@
 	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
+#if defined(SMP) || LOCK_DEBUG > 0 || 1
 	_get_spin_lock(m, curthread, opts, file, line);
 #else
 	critical_enter();
@@ -434,7 +434,7 @@
 	LOCK_LOG_LOCK("UNLOCK", &m->mtx_object, opts, m->mtx_recurse, file,
 	    line);
 	mtx_assert(m, MA_OWNED);
-#if defined(SMP) || LOCK_DEBUG > 0
+#if defined(SMP) || LOCK_DEBUG > 0 || 1
 	_rel_spin_lock(m);
 #else
 	critical_exit();

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?200207311927.g6VJRpJw032396>