ARM: dma-mapping: remove unconditional dependency on CMA
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 30 May 2012 08:48:29 +0000 (10:48 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 4 Jun 2012 06:01:24 +0000 (08:01 +0200)
commitf1ae98da8525c6b8b1c301c3a2b0bd2b6515cca2
treef73e377f98bbb452612a1f53b3d399cff6cac1fa
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f
ARM: dma-mapping: remove unconditional dependency on CMA

CMA has been enabled unconditionally on all ARMv6+ systems to solve the
long standing issue of double kernel mappings for all dma coherent
buffers. This however created a dependency on CONFIG_EXPERIMENTAL for
the whole ARM architecture what should be really avoided. This patch
removes this dependency and lets one use old, well-tested dma-mapping
implementation also on ARMv6+ systems without the need to use
EXPERIMENTAL stuff.

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/Kconfig
arch/arm/mm/dma-mapping.c