diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2007-12-30 14:45:40 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-01-11 20:05:41 +0300 |
commit | 320167182dc3e351d2608cb7dccde12a47e3f51d (patch) | |
tree | 6583a349f5e713f0f96a2be14e9a3c544467d0b7 /arch | |
parent | 88fb61e4ba263685a0d5b82c7e9cd6f22a9e6a9d (diff) | |
download | linux-320167182dc3e351d2608cb7dccde12a47e3f51d.tar.xz |
[MIPS] Wrong CONFIG option prevents setup of DMA zone.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/mm/dma-default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/dma-default.c b/arch/mips/mm/dma-default.c index ae76795685cc..810535dd091b 100644 --- a/arch/mips/mm/dma-default.c +++ b/arch/mips/mm/dma-default.c @@ -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)) |