]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[SPARC32]: Fix build-warning in io-unit.c
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 27 Oct 2007 07:54:14 +0000 (00:54 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 27 Oct 2007 07:54:14 +0000 (00:54 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/io-unit.c

index 1666087c5b80e751587785046b848a1697563a35..b86dfce8eee44b6ad01ea3ada7bcb0c0733f61b4 100644 (file)
@@ -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);
        }