Skip to content

Commit

Permalink
[MIPS] Jazz: Fix warning.
Browse files Browse the repository at this point in the history
arch/mips/jazz/jazzdma.c:70: warning: assignment makes integer from pointer without a cast

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
ralfbaechle committed Mar 24, 2007
1 parent e007566 commit bf9f88a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/mips/jazz/jazzdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bf9f88a

Please sign in to comment.