summaryrefslogtreecommitdiff
path: root/bsd-core
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2009-02-23 20:16:15 -0600
committerRobert Noland <rnoland@2hip.net>2009-02-23 20:16:15 -0600
commitd6c97868361da48d13a5fe7fe106d67a64969ab1 (patch)
treea01ff5f0f34e6399bc37d436419b370791c7f369 /bsd-core
parenta9486ee3a8aaae888b4a05ae0d475cfa2a2641cb (diff)
FreeBSD: Don't set PZERO in mtx_sleep.
Diffstat (limited to 'bsd-core')
-rw-r--r--bsd-core/drmP.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index c7e40230..f6739cb0 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -299,8 +299,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(); \
}