summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2009-02-25 18:16:50 +0000
committerrnoland <rnoland@FreeBSD.org>2009-02-25 18:16:50 +0000
commit1e7c6ababe5997a41b64a0692953ce03322a9816 (patch)
tree2029354563cd1e2b6ae68a52e16e88fe0bb35c98 /sys
parent8a8f5251fa38b7eed0a1411e89502dd307d6eac2 (diff)
downloadFreeBSD-src-1e7c6ababe5997a41b64a0692953ce03322a9816.zip
FreeBSD-src-1e7c6ababe5997a41b64a0692953ce03322a9816.tar.gz
Remove the PZERO priority from mtx_sleep.
MFC after: 2 weeks
Diffstat (limited to 'sys')
-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 94361ae..acdb0ae 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(); \
}
OpenPOWER on IntegriCloud