ARM: dma-mapping: add support for DMA_ATTR_FORCE_CONTIGUOUS attribute
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Oct 2012 14:03:52 +0000 (16:03 +0200)
committerInki Dae <daeinki@gmail.com>
Thu, 29 Nov 2012 11:30:34 +0000 (03:30 -0800)
commit549a17e447d72bab648c783abbba98f3bd5b4dd5
tree51d4664c81dc8540b8b8becb4f67299cc32eee33
parent4b9347dcbe3b426d19bda99b2061a2d1fe5a2dce
ARM: dma-mapping: add support for DMA_ATTR_FORCE_CONTIGUOUS attribute

This patch adds support for DMA_ATTR_FORCE_CONTIGUOUS attribute for
dma_alloc_attrs() in IOMMU-aware implementation. For allocating physically
contiguous buffers Contiguous Memory Allocator is used.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/dma-mapping.c