ARM: dma: Drop __GFP_COMP for iommu dma memory allocations
authorRichard Zhao <rizhao@nvidia.com>
Thu, 20 Jun 2013 12:31:00 +0000 (20:31 +0800)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 28 Jun 2013 13:14:29 +0000 (15:14 +0200)
commit5b91a98c61abe914e6a80d7dc15e435c47ea0004
treec3008ef76f84869617457031453e79e56686a543
parent63c181922f25371b7d24ef63d4e15887ff23a088
ARM: dma: Drop __GFP_COMP for iommu dma memory allocations

__iommu_alloc_buffer wants to split pages after allocation in order to
reduce the memory footprint. This does not work well with __GFP_COMP
pages, so drop this flag before allocation

One failure example is snd_malloc_dev_pages call dma_alloc_coherent with
__GFP_COMP.

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