diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-03-24 09:28:58 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-03-24 13:01:50 -0400 |
commit | bf9f88a2192aaee6f1bbff50175aa68ff107355e (patch) | |
tree | 98c2262395103f1eaf0b4e65da944bed04ab0036 | |
parent | e007566d138167f325a4f382bdb93e5d6552f86c (diff) |
[MIPS] Jazz: Fix warning.
arch/mips/jazz/jazzdma.c:70: warning: assignment makes integer from pointer without a cast
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/jazz/jazzdma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/jazz/jazzdma.c b/arch/mips/jazz/jazzdma.c index 46e421e14348..e8e0ffb9354d 100644 --- a/arch/mips/jazz/jazzdma.c +++ b/arch/mips/jazz/jazzdma.c | |||
@@ -67,7 +67,8 @@ void __init vdma_init(void) | |||
67 | * aligned and should be uncached to avoid cache flushing after every | 67 | * aligned and should be uncached to avoid cache flushing after every |
68 | * update. | 68 | * update. |
69 | */ | 69 | */ |
70 | vdma_pagetable_start = alloc_bootmem_low_pages(VDMA_PGTBL_SIZE); | 70 | vdma_pagetable_start = |
71 | (unsigned long) alloc_bootmem_low_pages(VDMA_PGTBL_SIZE); | ||
71 | if (!vdma_pagetable_start) | 72 | if (!vdma_pagetable_start) |
72 | BUG(); | 73 | BUG(); |
73 | dma_cache_wback_inv(vdma_pagetable_start, VDMA_PGTBL_SIZE); | 74 | dma_cache_wback_inv(vdma_pagetable_start, VDMA_PGTBL_SIZE); |