[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1334194133-9333-1-git-send-email-gxt@mprc.pku.edu.cn>
Date: Thu, 12 Apr 2012 09:28:53 +0800
From: Guan Xuetao <gxt@...c.pku.edu.cn>
To: linux-kernel@...r.kernel.org
Cc: Guan Xuetao <gxt@...c.pku.edu.cn>, Arnd Bergmann <arnd@...db.de>,
Liu Guoli <liuguoli@...c.pku.edu.cn>
Subject: [PATCH] UniCore32 bugfix: add missed CONFIG_ZONE_DMA
Because our PCI-bus handler confines dma zone into 128M, we should add
CONFIG_ZONE_DMA for all boards. Otherwise, all memory bigger than 128M
will be pushed into ZONE_MOVABLE.
Cc: Arnd Bergmann <arnd@...db.de>
Signed-off-by: Liu Guoli <liuguoli@...c.pku.edu.cn>
Signed-off-by: Guan Xuetao <gxt@...c.pku.edu.cn>
---
arch/unicore32/Kconfig | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig
index eeb8054..9f40a57 100644
--- a/arch/unicore32/Kconfig
+++ b/arch/unicore32/Kconfig
@@ -67,6 +67,9 @@ config GENERIC_CALIBRATE_DELAY
config ARCH_MAY_HAVE_PC_FDC
bool
+config ZONE_DMA
+ def_bool y
+
config NEED_DMA_MAP_STATE
def_bool y
--
1.7.0.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists