summaryrefslogtreecommitdiff
path: root/linux/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/dma.c')
-rw-r--r--linux/dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/dma.c b/linux/dma.c
index 5cc3ec36..56dd2441 100644
--- a/linux/dma.c
+++ b/linux/dma.c
@@ -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;
}
}