aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/Kconfig
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-10-07 15:14:55 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-09 16:29:46 -0400
commit3bca103a1e658d23737d20e1989139d9ca8973bf (patch)
tree672dcfde5a28cd0b2c4b06521f65413eab49750a /arch/arm/mach-pxa/Kconfig
parent000b50259271c9c14f6e175795f5164e1d51d35b (diff)
[ARM] 5295/1: make ZONE_DMA optional
Most ARM machines don't need a special "DMA" memory zone, and when configured out, the kernel becomes a bit smaller: | text data bss dec hex filename |3826182 102384 111700 4040266 3da64a vmlinux |3823593 101616 111700 4036909 3d992d vmlinux.nodmazone This is because the system now has only one zone total which effect is to optimize away many conditionals in page allocation paths. So let's configure this zone only on machines that need split zones. Signed-off-by: Nicolas Pitre <nico@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/Kconfig')
-rw-r--r--arch/arm/mach-pxa/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/Kconfig b/arch/arm/mach-pxa/Kconfig
index e8ee7ec9ff6d..e484f609feda 100644
--- a/arch/arm/mach-pxa/Kconfig
+++ b/arch/arm/mach-pxa/Kconfig
@@ -210,6 +210,7 @@ config MACH_ARMCORE
210 bool "CompuLab CM-X270 modules" 210 bool "CompuLab CM-X270 modules"
211 select PXA27x 211 select PXA27x
212 select IWMMXT 212 select IWMMXT
213 select ZONE_DMA if PCI
213 214
214config MACH_MAGICIAN 215config MACH_MAGICIAN
215 bool "Enable HTC Magician Support" 216 bool "Enable HTC Magician Support"