Commit bf9f88a2 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] Jazz: Fix warning.

arch/mips/jazz/jazzdma.c:70: warning: assignment makes integer from pointer without a cast
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent e007566d
...@@ -67,7 +67,8 @@ void __init vdma_init(void) ...@@ -67,7 +67,8 @@ void __init vdma_init(void)
* aligned and should be uncached to avoid cache flushing after every * aligned and should be uncached to avoid cache flushing after every
* update. * 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) if (!vdma_pagetable_start)
BUG(); BUG();
dma_cache_wback_inv(vdma_pagetable_start, VDMA_PGTBL_SIZE); dma_cache_wback_inv(vdma_pagetable_start, VDMA_PGTBL_SIZE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment