From: Ralf Baechle Date: Sat, 24 Mar 2007 13:28:58 +0000 (+0000) Subject: [MIPS] Jazz: Fix warning. X-Git-Tag: v2.6.21-rc5~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bf9f88a2192aaee6f1bbff50175aa68ff107355e;p=linux-2.6-omap-h63xx.git [MIPS] Jazz: Fix warning. arch/mips/jazz/jazzdma.c:70: warning: assignment makes integer from pointer without a cast Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/jazz/jazzdma.c b/arch/mips/jazz/jazzdma.c index 46e421e1434..e8e0ffb9354 100644 --- a/arch/mips/jazz/jazzdma.c +++ b/arch/mips/jazz/jazzdma.c @@ -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);