OSDN Git Service

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 b70324e..efd5dff 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;
        }