[MIPS] Wrong CONFIG option prevents setup of DMA zone.
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 30 Dec 2007 11:45:40 +0000 (12:45 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 11 Jan 2008 17:05:41 +0000 (17:05 +0000)
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/dma-default.c

index ae76795..810535d 100644 (file)
@@ -45,7 +45,7 @@ static gfp_t massage_gfp_flags(const struct device *dev, gfp_t gfp)
        /* ignore region specifiers */
        gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM);
 
-#ifdef CONFIG_ZONE_DMA32
+#ifdef CONFIG_ZONE_DMA
        if (dev == NULL)
                gfp |= __GFP_DMA;
        else if (dev->coherent_dma_mask < DMA_BIT_MASK(24))