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();
|
schedule();
|
||||||
if (signal_pending(current)) {
|
if (signal_pending(current)) {
|
||||||
atomic_dec(&q->use_count);
|
atomic_dec(&q->use_count);
|
||||||
|
remove_wait_queue(&q->write_queue, &entry);
|
||||||
return -EINTR;
|
return -EINTR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue