ARM: dma: Drop GFP_COMP for DMA-IOMMU memory allocations
authorHiroshi Doyu <hdoyu@nvidia.com>
Mon, 2 Apr 2012 07:42:02 +0000 (10:42 +0300)
committerHiroshi Doyu <hdoyu@nvidia.com>
Fri, 7 Sep 2012 08:46:12 +0000 (11:46 +0300)
commit8166a75eee6feeabdd2cff5e21bd081b0058955b
tree9a40555668b3da14ed43199a5189bd56a641e1c6
parent41503db00a20788ff2f95e756c821112c066cdc3
ARM: dma: Drop GFP_COMP for DMA-IOMMU memory allocations

dma_alloc_coherent 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.

This patch is ported from arch/avr32
(commit 3611553ef985ef7c5863c8a94641738addd04cff).

Change-Id: I67eb2b15807c36c6a3ade95ee35bf5856d8e0e11
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
arch/arm/mm/dma-mapping.c