aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/sun4c.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/mm/sun4c.c')
-rw-r--r--arch/sparc/mm/sun4c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sparc/mm/sun4c.c b/arch/sparc/mm/sun4c.c
index 6b0c49004ba6..ad0ce117f352 100644
--- a/arch/sparc/mm/sun4c.c
+++ b/arch/sparc/mm/sun4c.c
@@ -1122,8 +1122,8 @@ static void sun4c_get_scsi_sgl(struct device *dev, struct scatterlist *sg, int s
1122{ 1122{
1123 while (sz != 0) { 1123 while (sz != 0) {
1124 --sz; 1124 --sz;
1125 sg->dvma_address = (__u32)sun4c_lockarea(sg_virt(sg), sg->length); 1125 sg->dma_address = (__u32)sun4c_lockarea(sg_virt(sg), sg->length);
1126 sg->dvma_length = sg->length; 1126 sg->dma_length = sg->length;
1127 sg = sg_next(sg); 1127 sg = sg_next(sg);
1128 } 1128 }
1129} 1129}
@@ -1139,7 +1139,7 @@ static void sun4c_release_scsi_sgl(struct device *dev, struct scatterlist *sg, i
1139{ 1139{
1140 while (sz != 0) { 1140 while (sz != 0) {
1141 --sz; 1141 --sz;
1142 sun4c_unlockarea((char *)sg->dvma_address, sg->length); 1142 sun4c_unlockarea((char *)sg->dma_address, sg->length);
1143 sg = sg_next(sg); 1143 sg = sg_next(sg);
1144 } 1144 }
1145} 1145}