summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ppc/pmac.c
diff options
context:
space:
mode:
authorJens Axboe2007-07-25 08:13:56 +0200
committerJens Axboe2007-10-16 11:21:00 +0200
commit55c16a70041ba55e235c5944dccb9c1de0dd3ca6 (patch)
treee48c1d9943fc52329cae1656ca59d24751dd9b98 /drivers/ide/ppc/pmac.c
parenti2o: sg chaining support (diff)
downloadkernel-qcow2-linux-55c16a70041ba55e235c5944dccb9c1de0dd3ca6.tar.gz
kernel-qcow2-linux-55c16a70041ba55e235c5944dccb9c1de0dd3ca6.tar.xz
kernel-qcow2-linux-55c16a70041ba55e235c5944dccb9c1de0dd3ca6.zip
IDE: sg chaining support
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/ide/ppc/pmac.c')
-rw-r--r--drivers/ide/ppc/pmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c
index 7d8873839e21..9e86406bf44b 100644
--- a/drivers/ide/ppc/pmac.c
+++ b/drivers/ide/ppc/pmac.c
@@ -1539,7 +1539,7 @@ pmac_ide_build_dmatable(ide_drive_t *drive, struct request *rq)
cur_len -= tc;
++table;
}
- sg++;
+ sg = sg_next(sg);
i--;
}