summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Hartmann <jhartmann@valinux.com>2000-11-21 16:18:47 +0000
committerJeff Hartmann <jhartmann@valinux.com>2000-11-21 16:18:47 +0000
commit960f13cdf4cc4201fabe4c48e40395d3a755be58 (patch)
treeee68c266c7ab119aa311bb95351585c0a0b28f61
parent679531e1669085115bac5f6fc982d54a4a9608e8 (diff)
Integrated bug fix from David S. Miller (a wait queue removal bug)X_4_0_1g-20001130-mergeX_4_0_1f-20001130-merge
-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;
}
}