Remove the PZERO priority from mtx_sleep.

MFC after:	2 weeks
This commit is contained in:
Robert Noland 2009-02-25 18:16:50 +00:00
parent 5758fe7185
commit 4f02999996

View file

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