FreeBSD: Don't set PZERO in mtx_sleep.
parent
a9486ee3a8
commit
d6c9786836
|
@ -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(); \
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue