mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-03 09:20:27 +01:00
Integrated bug fix from David S. Miller (a wait queue removal bug)
This commit is contained in:
parent
679531e166
commit
960f13cdf4
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue