Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>2004-02-15 21:46:34 -0800
committerLinus Torvalds <torvalds@evo.osdl.org>2004-02-15 21:46:34 -0800
commite38bead1169ae08dea3e2054a05c93605e368332 (patch)
treefb5b3b651ad5e9deb7f144387843ac7f08cfbcbf
parent49dd3fd82d8a75e6ef844f1d4227140e4a643010 (diff)
[PATCH] ide-tape: fix "sleeping function called from invalid context"
From: Willem Riede <wrlk@riede.org>
-rw-r--r--drivers/ide/ide-tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index e280d39296cf..bd4b9dfc70a6 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -3212,7 +3212,7 @@ static void idetape_wait_for_request (ide_drive_t *drive, struct request *rq)
#endif /* IDETAPE_DEBUG_BUGS */
rq->waiting = &wait;
tape->waiting = &wait;
- spin_unlock(&tape->spinlock);
+ spin_unlock_irq(&tape->spinlock);
wait_for_completion(&wait);
/* The stage and its struct request have been deallocated */
tape->waiting = NULL;