diff options
Diffstat (limited to 'arch/mips/jazz/jazzdma.c')
-rw-r--r-- | arch/mips/jazz/jazzdma.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/jazz/jazzdma.c b/arch/mips/jazz/jazzdma.c index c672c08d49e5..f0fd636723be 100644 --- a/arch/mips/jazz/jazzdma.c +++ b/arch/mips/jazz/jazzdma.c | |||
@@ -68,8 +68,7 @@ static int __init vdma_init(void) | |||
68 | */ | 68 | */ |
69 | pgtbl = (VDMA_PGTBL_ENTRY *)__get_free_pages(GFP_KERNEL | GFP_DMA, | 69 | pgtbl = (VDMA_PGTBL_ENTRY *)__get_free_pages(GFP_KERNEL | GFP_DMA, |
70 | get_order(VDMA_PGTBL_SIZE)); | 70 | get_order(VDMA_PGTBL_SIZE)); |
71 | if (!pgtbl) | 71 | BUG_ON(!pgtbl); |
72 | BUG(); | ||
73 | dma_cache_wback_inv((unsigned long)pgtbl, VDMA_PGTBL_SIZE); | 72 | dma_cache_wback_inv((unsigned long)pgtbl, VDMA_PGTBL_SIZE); |
74 | pgtbl = (VDMA_PGTBL_ENTRY *)KSEG1ADDR(pgtbl); | 73 | pgtbl = (VDMA_PGTBL_ENTRY *)KSEG1ADDR(pgtbl); |
75 | 74 | ||