diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-19 07:00:41 +0900 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2009-04-19 07:00:41 +0900 |
commit | 853280a4dc8e3cc97ff10c1c02234d96078f437b (patch) | |
tree | 3767a0fa8e9aff275bd69e887c2d3d7117812822 /drivers/ide | |
parent | 1e75540ec5202cae63cd238c86bd880e3d496546 (diff) | |
download | op-kernel-dev-853280a4dc8e3cc97ff10c1c02234d96078f437b.zip op-kernel-dev-853280a4dc8e3cc97ff10c1c02234d96078f437b.tar.gz |
ide: use blk_run_queue() instead of blk_start_queueing()
blk_start_queueing() is being phased out in favor of
[__]blk_run_queue(). Switch.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-park.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/ide/ide-park.c b/drivers/ide/ide-park.c index 310d03f..a914023 100644 --- a/drivers/ide/ide-park.c +++ b/drivers/ide/ide-park.c @@ -24,11 +24,8 @@ static void issue_park_cmd(ide_drive_t *drive, unsigned long timeout) start_queue = 1; spin_unlock_irq(&hwif->lock); - if (start_queue) { - spin_lock_irq(q->queue_lock); - blk_start_queueing(q); - spin_unlock_irq(q->queue_lock); - } + if (start_queue) + blk_run_queue(q); return; } spin_unlock_irq(&hwif->lock); |