iommu/tegra-smmu: Use __GFP_ZERO to allocate zeroed pages
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 27 Jul 2015 12:30:02 +0000 (13:30 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Aug 2015 14:06:43 +0000 (16:06 +0200)
commit707917cbc6ac0c0ea968b5eb635722ea84808286
tree918113654c8ff1ad3e5796d46ed1f9974e3c96bd
parent05a65f06f69fa6c487c2933f2971d9ec4e33eb0d
iommu/tegra-smmu: Use __GFP_ZERO to allocate zeroed pages

Rather than explicitly zeroing pages allocated via alloc_page(), add
__GFP_ZERO to the gfp mask to ask the allocator for zeroed pages.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/iommu/tegra-smmu.c