ARM: dma-mapping: Introduce __atomic_get_pages() for __iommu_get_pages()
authorHiroshi Doyu <hdoyu@nvidia.com>
Tue, 28 Aug 2012 05:13:03 +0000 (08:13 +0300)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 28 Aug 2012 19:01:06 +0000 (21:01 +0200)
commit665bad7bb911d392000fa69bc6b599c0df992504
tree12b5ad80e748a79466041a7ac254924e7531f4ce
parent21d0a75951ccf71f671eb24b61a8ad2b497be4b4
ARM: dma-mapping: Introduce __atomic_get_pages() for __iommu_get_pages()

Support atomic allocation in __iommu_get_pages().

Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
[moved __atomic_get_pages() under #ifdef CONFIG_ARM_DMA_USE_IOMMU
 to avoid unused fuction warning for no-IOMMU case]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/dma-mapping.c