From 5e2a06489e4d4d85ca4ca20af23f213e95c2fbeb Mon Sep 17 00:00:00 2001 From: David Miller Date: Wed, 24 Oct 2007 08:44:21 +0200 Subject: [PATCH] SG build fix Signed-off-by: David S. Miller Signed-off-by: Jens Axboe --- arch/sparc64/kernel/iommu_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc64/kernel/iommu_common.c b/arch/sparc64/kernel/iommu_common.c index b70324e0d8..efd5dff85f 100644 --- a/arch/sparc64/kernel/iommu_common.c +++ b/arch/sparc64/kernel/iommu_common.c @@ -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; } -- 2.39.5