ARM: DMA-mapping: add missing GFP_DMA flag for atomic buffer allocation
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 26 Feb 2013 06:46:24 +0000 (07:46 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 14 Mar 2013 08:25:19 +0000 (09:25 +0100)
commit9d1400cf79afb49584b4873eb22cd5130cb341db
tree9590b2041122620f4f70cdf0922a39cc67ba9021
parent6dbe51c251a327e012439c4772097a13df43c5b8
ARM: DMA-mapping: add missing GFP_DMA flag for atomic buffer allocation

Atomic pool should always be allocated from DMA zone if such zone is
available in the system to avoid issues caused by limited dma mask of
any of the devices used for making an atomic allocation.

Reported-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Stable <stable@vger.kernel.org> [v3.6+]
arch/arm/mm/dma-mapping.c