aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavid Miller <davem@davemloft.net>2007-10-24 08:44:21 +0200
committerJens Axboe <axboe@carl.home.kernel.dk>2007-10-24 08:44:21 +0200
commit5e2a06489e4d4d85ca4ca20af23f213e95c2fbeb (patch)
treec1f496be2101189a84233835560ff9448c8c0f3f /arch
parentc9927c2bf4f45bb85e8b502ab3fb79ad6483c244 (diff)
SG build fix
Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jens Axboe <axboe@carl.home.kernel.dk>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/kernel/iommu_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/iommu_common.c b/arch/sparc64/kernel/iommu_common.c
index b70324e0d83..efd5dff85f6 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;
}