]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: Honor __GFP_ZERO in dma allocations
authorSuzuki K. Poulose <suzuki.poulose@arm.com>
Thu, 19 Mar 2015 18:17:09 +0000 (18:17 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Mar 2015 12:59:36 +0000 (13:59 +0100)
commit2195ac7f1315c7aa7e2d36c7dcab95f5ed1387ef
treeaca540b1eb5201fe0f479f48d78175b61d33ef7b
parenta39960b04c21381bab7fca79c6461f35074128f5
arm64: Honor __GFP_ZERO in dma allocations

commit 7132813c384515c9dede1ae20e56f3895feb7f1e upstream.

Current implementation doesn't zero out the pages allocated.
Honor the __GFP_ZERO flag and zero out if set.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/mm/dma-mapping.c