Browse Source

SG build fix

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
David Miller 17 years ago
parent
commit
5e2a06489e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/sparc64/kernel/iommu_common.c

+ 1 - 1
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;
 	}