Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2009 18:16:50 +0000 (UTC)
From:      Robert Noland <rnoland@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189045 - head/sys/dev/drm
Message-ID:  <200902251816.n1PIGoA0004187@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rnoland
Date: Wed Feb 25 18:16:50 2009
New Revision: 189045
URL: http://svn.freebsd.org/changeset/base/189045

Log:
  Remove the PZERO priority from mtx_sleep.
  
  MFC after:	2 weeks

Modified:
  head/sys/dev/drm/drmP.h

Modified: head/sys/dev/drm/drmP.h
==============================================================================
--- head/sys/dev/drm/drmP.h	Wed Feb 25 15:04:30 2009	(r189044)
+++ head/sys/dev/drm/drmP.h	Wed Feb 25 18:16:50 2009	(r189045)
@@ -294,8 +294,8 @@ for ( ret = 0 ; !ret && !(condition) ; )
 	DRM_UNLOCK();						\
 	mtx_lock(&dev->irq_lock);				\
 	if (!(condition))					\
-	   ret = -mtx_sleep(&(queue), &dev->irq_lock, 		\
-			 PZERO | PCATCH, "drmwtq", (timeout));	\
+	    ret = -mtx_sleep(&(queue), &dev->irq_lock, 		\
+		PCATCH, "drmwtq", (timeout));			\
 	mtx_unlock(&dev->irq_lock);				\
 	DRM_LOCK();						\
 }



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