ARM: dma-mapping: add support for dma_get_sgtable()
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 13 Jun 2012 08:01:15 +0000 (10:01 +0200)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 30 Jul 2012 10:25:47 +0000 (12:25 +0200)
commitdc2832e1e7db3f9ad465d2fe894bd69ef05d1e4b
tree67b74751c0d7ee64c6ab9702a56041ab0f3df092
parentd2b7428eb0caa7c66e34b6ac869a43915b294123
ARM: dma-mapping: add support for dma_get_sgtable()

This patch adds support for dma_get_sgtable() function which is required
to let drivers to share the buffers allocated by DMA-mapping subsystem.

Generic implementation based on virt_to_page() is not suitable for ARM
dma-mapping subsystem.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Kyungmin Park <kyungmin.park@samsung.com>
arch/arm/common/dmabounce.c
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c