]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: use ARM_DMA_ZONE_SIZE to adjust the zone sizes
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 11 May 2011 14:39:00 +0000 (15:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 May 2011 07:36:53 +0000 (08:36 +0100)
commitbe20902ba67de70b38c995903321f4152dee57b7
tree86f27d4d90b7408d421ce246527431e58a836bf3
parent2fb3ec5c9503ba8874e24170de2b40e8f1a58370
ARM: use ARM_DMA_ZONE_SIZE to adjust the zone sizes

Rather than each platform providing its own function to adjust the
zone sizes, use the new ARM_DMA_ZONE_SIZE definition to perform this
adjustment.  This ensures that the actual DMA zone size and the
ISA_DMA_THRESHOLD/MAX_DMA_ADDRESS definitions are consistent with
each other, and moves this complexity out of the platform code.

Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
12 files changed:
arch/arm/common/sa1111.c
arch/arm/include/asm/memory.h
arch/arm/mach-davinci/include/mach/memory.h
arch/arm/mach-ixp4xx/common-pci.c
arch/arm/mach-ixp4xx/include/mach/memory.h
arch/arm/mach-pxa/cm-x2xx-pci.c
arch/arm/mach-pxa/include/mach/memory.h
arch/arm/mach-realview/core.c
arch/arm/mach-realview/include/mach/memory.h
arch/arm/mach-sa1100/include/mach/memory.h
arch/arm/mach-shark/include/mach/memory.h
arch/arm/mm/init.c