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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:18:14 +0000 (12:18 -0700)
commit36bd37a9716002fc074b55638ff9583c03cea7ad
treeead4faae8532373e760aca9f50d511915097221e
parent608b6e6cb8a7a794df75b6b0a15e84317fdba136
ARM: DMA-mapping: add missing GFP_DMA flag for atomic buffer allocation

commit 9d1400cf79afb49584b4873eb22cd5130cb341db upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mm/dma-mapping.c