KVM: PPC: Book3S HV: Use kvmppc_unmap_pte() in kvm_unmap_radix()
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 8 Oct 2018 05:31:02 +0000 (16:31 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 9 Oct 2018 05:04:27 +0000 (16:04 +1100)
commitf0f825f0e20abe9ba6eb71b7c1eebd891fb4375c
tree364b4921e015e55caa795fb7605d9102015b9d9d
parent04bae9d5b4c09ac7e9a4941c0e555f7e5e335efd
KVM: PPC: Book3S HV: Use kvmppc_unmap_pte() in kvm_unmap_radix()

kvmppc_unmap_pte() does a sequence of operations that are open-coded in
kvm_unmap_radix().  This extends kvmppc_unmap_pte() a little so that it
can be used by kvm_unmap_radix(), and makes kvm_unmap_radix() call it.

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kvm/book3s_64_mmu_radix.c