summaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorGuan Xuetao <gxt@mprc.pku.edu.cn>2012-04-12 03:18:46 +0200
committerGuan Xuetao <gxt@mprc.pku.edu.cn>2012-11-09 10:30:09 +0100
commit446d141e1c84d34c70592b53443b06533703c324 (patch)
tree05bd94e0b5b6f3b725a26e0e7e8ccf5165f2738e /arch/unicore32
parentunicore32/mm/fault.c: Port OOM changes to do_pf (diff)
downloadlinux-446d141e1c84d34c70592b53443b06533703c324.tar.xz
linux-446d141e1c84d34c70592b53443b06533703c324.zip
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@arndb.de> Signed-off-by: Liu Guoli <liuguoli@mprc.pku.edu.cn> Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Diffstat (limited to 'arch/unicore32')
-rw-r--r--arch/unicore32/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig
index e5c5473e69ce..5b95ba4e0c70 100644
--- a/arch/unicore32/Kconfig
+++ b/arch/unicore32/Kconfig
@@ -64,6 +64,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