]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Jazz: Fix warning.
authorRalf Baechle <ralf@linux-mips.org>
Sat, 24 Mar 2007 13:28:58 +0000 (13:28 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 24 Mar 2007 17:01:50 +0000 (17:01 +0000)
arch/mips/jazz/jazzdma.c:70: warning: assignment makes integer from pointer without a cast

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jazz/jazzdma.c

index 46e421e143486ae0742199d8950f3e94ea12c21d..e8e0ffb9354d2295a0ea9cb5939e4fb05fb3efae 100644 (file)
@@ -67,7 +67,8 @@ void __init vdma_init(void)
         * aligned and should be uncached to avoid cache flushing after every
         * update.
         */
-       vdma_pagetable_start = alloc_bootmem_low_pages(VDMA_PGTBL_SIZE);
+       vdma_pagetable_start =
+               (unsigned long) alloc_bootmem_low_pages(VDMA_PGTBL_SIZE);
        if (!vdma_pagetable_start)
                BUG();
        dma_cache_wback_inv(vdma_pagetable_start, VDMA_PGTBL_SIZE);