]> 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)
commit86e93b071280880f394b52eae0bb145e711eed8e
treef73e377f98bbb452612a1f53b3d399cff6cac1fa
parentb7dc9622e4c3808ef905a72fda997b5fc0c6f7d2
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