KVM: PPC: BookE: Use vma_pages function
authorThomas Meyer <thomas@m3y3r.de>
Wed, 20 Sep 2017 22:29:36 +0000 (00:29 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Sat, 14 Oct 2017 02:39:49 +0000 (13:39 +1100)
commit4bdcb7016f95dd7668cd2f55f494ba449443e8d7
tree550ea00dc5d319f0358ec449d6b333be9e9607c6
parent4bb817ed833c070e5b5ee0482f74e2a5e1a12c4c
KVM: PPC: BookE: Use vma_pages function

Use vma_pages function on vma object instead of explicit computation.
Found by coccinelle spatch "api/vma_pages.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/e500_mmu_host.c