aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/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/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/Kconfig')
-rw-r--r--arch/arm/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index f5bf38b5f38d..ea52fae33290 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -148,7 +148,6 @@ config ARCH_MAY_HAVE_PC_FDC
148 148
149config ZONE_DMA 149config ZONE_DMA
150 bool 150 bool
151 default y
152 151
153config GENERIC_ISA_DMA 152config GENERIC_ISA_DMA
154 bool 153 bool
@@ -357,6 +356,7 @@ config ARCH_IXP4XX
357 select GENERIC_GPIO 356 select GENERIC_GPIO
358 select GENERIC_TIME 357 select GENERIC_TIME
359 select GENERIC_CLOCKEVENTS 358 select GENERIC_CLOCKEVENTS
359 select ZONE_DMA if PCI
360 help 360 help
361 Support for Intel's IXP4XX (XScale) family of processors. 361 Support for Intel's IXP4XX (XScale) family of processors.
362 362
@@ -503,6 +503,7 @@ config ARCH_SHARK
503 bool "Shark" 503 bool "Shark"
504 select ISA 504 select ISA
505 select ISA_DMA 505 select ISA_DMA
506 select ZONE_DMA
506 select PCI 507 select PCI
507 help 508 help
508 Support for the StrongARM based Digital DNARD machine, also known 509 Support for the StrongARM based Digital DNARD machine, also known
@@ -524,6 +525,7 @@ config ARCH_DAVINCI
524 select GENERIC_CLOCKEVENTS 525 select GENERIC_CLOCKEVENTS
525 select GENERIC_GPIO 526 select GENERIC_GPIO
526 select HAVE_CLK 527 select HAVE_CLK
528 select ZONE_DMA
527 help 529 help
528 Support for TI's DaVinci platform. 530 Support for TI's DaVinci platform.
529 531