Integrated bug fix from David S. Miller (a wait queue removal bug)
parent
679531e166
commit
960f13cdf4
|
@ -405,6 +405,7 @@ int drm_dma_enqueue(drm_device_t *dev, drm_dma_t *d)
|
|||
schedule();
|
||||
if (signal_pending(current)) {
|
||||
atomic_dec(&q->use_count);
|
||||
remove_wait_queue(&q->write_queue, &entry);
|
||||
return -EINTR;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue