]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25d314dcceb2dd40e39e76fa271d8ccf514da906
treef73e377f98bbb452612a1f53b3d399cff6cac1fa
parenta37c45859bb7a3b7a6d3c2dc0a4466159cbaa6fe
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