Commit 27dbff0e authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz Committed by Linus Torvalds

[PATCH] fix PowerMac driver breakage caused by recent dynamic queue change

From Mikael Pettersson <mikpe@csd.uu.se>.
parent b0ddfd71
...@@ -942,7 +942,7 @@ pmac_ide_build_sglist(ide_drive_t *drive, struct request *rq) ...@@ -942,7 +942,7 @@ pmac_ide_build_sglist(ide_drive_t *drive, struct request *rq)
if (hwif->sg_dma_active) if (hwif->sg_dma_active)
BUG(); BUG();
nents = blk_rq_map_sg(&drive->queue, rq, sg); nents = blk_rq_map_sg(drive->queue, rq, sg);
if (rq_data_dir(rq) == READ) if (rq_data_dir(rq) == READ)
pmif->sg_dma_direction = PCI_DMA_FROMDEVICE; pmif->sg_dma_direction = PCI_DMA_FROMDEVICE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment