FreeBSD: Don't set PZERO in mtx_sleep.

main
Robert Noland 2009-02-23 20:16:15 -06:00
parent a9486ee3a8
commit d6c9786836
1 changed files with 2 additions and 2 deletions

View File

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