arm/arm64: KVM: use __GFP_ZERO not memset() to get zeroed pages
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 17 Sep 2014 21:56:16 +0000 (14:56 -0700)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 10 Oct 2014 11:07:37 +0000 (13:07 +0200)
commite9e8578b6cdfba0259e99e79f0cb80c55c99b3c2
tree6c08662464f2cf314c1349a48ecb5e2329f4b8b7
parentb5e7a955a3515bf6b568050533fa9b1b72460a95
arm/arm64: KVM: use __GFP_ZERO not memset() to get zeroed pages

Pass __GFP_ZERO to __get_free_pages() instead of calling memset()
explicitly.

Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/mmu.c