svn commit: r189045 - head/sys/dev/drm

Robert Noland rnoland at FreeBSD.org
Wed Feb 25 10:16:51 PST 2009


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();						\
 }


More information about the svn-src-all mailing list