projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88fb61e
)
[MIPS] Wrong CONFIG option prevents setup of DMA zone.
author
Thomas Bogendoerfer
<tsbogend@alpha.franken.de>
Sun, 30 Dec 2007 11:45:40 +0000
(12:45 +0100)
committer
Ralf 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
patch
|
blob
|
history
diff --git
a/arch/mips/mm/dma-default.c
b/arch/mips/mm/dma-default.c
index
ae76795
..
810535d
100644
(file)
--- 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_DMA
32
+#ifdef CONFIG_ZONE_DMA
if (dev == NULL)
gfp |= __GFP_DMA;
else if (dev->coherent_dma_mask < DMA_BIT_MASK(24))