SG build fix
authorDavid Miller <davem@davemloft.net>
Wed, 24 Oct 2007 06:44:21 +0000 (08:44 +0200)
committerJens Axboe <axboe@carl.home.kernel.dk>
Wed, 24 Oct 2007 06:44:21 +0000 (08:44 +0200)
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
arch/sparc64/kernel/iommu_common.c

index b70324e0d83d8979f7aa65857f387fa47ebb63d5..efd5dff85f606ce55e26ff2acdc7ac9579da1ddb 100644 (file)
@@ -234,7 +234,7 @@ unsigned long prepare_sg(struct scatterlist *sg, int nents)
        dma_sg->dma_length = dent_len;
 
        if (dma_sg != sg) {
-               dma_sg = next_sg(dma_sg);
+               dma_sg = sg_next(dma_sg);
                dma_sg->dma_length = 0;
        }