aboutsummaryrefslogtreecommitdiff
path: root/drivers/acorn
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-08-08 12:19:24 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-08 12:19:24 -0700
commitb612cacb02f0fb58f07a9002c7719a901882718c (patch)
treef528e2ee1b39ad3c70336b29469d0b5645bc9e97 /drivers/acorn
parent7a91bf7f5c22c8407a9991cbd9ce5bb87caa6b4a (diff)
parent71abe99980e6d7ff8aee8acc7da817b3ad7d8a89 (diff)
Merge master.kernel.org:/home/rmk/linux-2.6-arm
Diffstat (limited to 'drivers/acorn')
-rw-r--r--drivers/acorn/block/fd1772.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/acorn/block/fd1772.c b/drivers/acorn/block/fd1772.c
index 3cd2e968e96..c0a37d98b4f 100644
--- a/drivers/acorn/block/fd1772.c
+++ b/drivers/acorn/block/fd1772.c
@@ -1283,8 +1283,7 @@ static void do_fd_request(request_queue_t* q)
if (fdc_busy) return;
save_flags(flags);
cli();
- while (fdc_busy)
- sleep_on(&fdc_wait);
+ wait_event(fdc_wait, !fdc_busy);
fdc_busy = 1;
ENABLE_IRQ();
restore_flags(flags);