| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] Wrong CONFIG option prevents setup of DMA zone. |
| From: | Thomas Bogendoerfer <tsbogend@alpha.franken.de> |
| Date: | Sun, 30 Dec 2007 12:45:40 +0100 (CET) |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Wrong CONFIG option prevents setup of DMA zone.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
---
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 ae76795..810535d 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))
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [directfb-users] Fill rectangle is not filling the screen with the COLOR(ALways filling the screen with Black color), Asho Yeh |
|---|---|
| Previous by Thread: | is CONFIG_CPU_MIPS32_R2 workable for linux-2.6.14?, zhuzhenhua |
| Indexes: | [Date] [Thread] [Top] [All Lists] |