diff options
author | 2007-10-27 00:54:14 -0700 | |
---|---|---|
committer | 2007-10-27 00:54:14 -0700 | |
commit | 6ee4e28be80add86a64908472e4b7ab01dab33d9 (patch) | |
tree | c192e5ed7faf6f2b56eb439fad2dee016027499f | |
parent | [SPARC64]: Fix BACKOFF_SPIN on non-SMP. (diff) | |
download | linux-6ee4e28be80add86a64908472e4b7ab01dab33d9.tar.gz linux-6ee4e28be80add86a64908472e4b7ab01dab33d9.tar.bz2 linux-6ee4e28be80add86a64908472e4b7ab01dab33d9.zip |
[SPARC32]: Fix build-warning in io-unit.c
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc/mm/io-unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/mm/io-unit.c b/arch/sparc/mm/io-unit.c index 1666087c5b80..b86dfce8eee4 100644 --- a/arch/sparc/mm/io-unit.c +++ b/arch/sparc/mm/io-unit.c @@ -144,7 +144,7 @@ static void iounit_get_scsi_sgl(struct scatterlist *sg, int sz, struct sbus_bus spin_lock_irqsave(&iounit->lock, flags); while (sz != 0) { --sz; - sg->dvma_address = iounit_get_area(iounit, sg_virt(sg), sg->length); + sg->dvma_address = iounit_get_area(iounit, (unsigned long) sg_virt(sg), sg->length); sg->dvma_length = sg->length; sg = sg_next(sg); } |