aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Noland <rnoland@FreeBSD.org>2009-02-25 18:16:50 +0000
committerRobert Noland <rnoland@FreeBSD.org>2009-02-25 18:16:50 +0000
commit4f02999996292ad412caa2f25fa11beff75687df (patch)
tree2029354563cd1e2b6ae68a52e16e88fe0bb35c98
parent5758fe718546c897ebe4fdef8b4ae87e45ac7177 (diff)
downloadsrc-4f02999996292ad412caa2f25fa11beff75687df.tar.gz
src-4f02999996292ad412caa2f25fa11beff75687df.zip
Remove the PZERO priority from mtx_sleep.
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=189045
-rw-r--r--sys/dev/drm/drmP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/drm/drmP.h b/sys/dev/drm/drmP.h
index 94361aede7f4..acdb0aebfdca 100644
--- a/sys/dev/drm/drmP.h
+++ b/sys/dev/drm/drmP.h
@@ -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(); \
}