diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2018-02-22 15:16:54 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-03-19 10:08:29 +1100 |
commit | 39c983ea0f96a270d4876c4148e3bb2d9cd3294f (patch) | |
tree | 46ed337f288ebce6040c5d0e6bfff31618984a48 /arch/powerpc/kvm/book3s_64_mmu_hv.c | |
parent | a8b48a4dccea77e29462e59f1dbf0d5aa1ff167c (diff) | |
download | linux-39c983ea0f96a270d4876c4148e3bb2d9cd3294f.tar.bz2 |
KVM: PPC: Remove unused kvm_unmap_hva callback
Since commit fb1522e099f0 ("KVM: update to new mmu_notifier semantic
v2", 2017-08-31), the MMU notifier code in KVM no longer calls the
kvm_unmap_hva callback. This removes the PPC implementations of
kvm_unmap_hva().
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_64_mmu_hv.c')
-rw-r--r-- | arch/powerpc/kvm/book3s_64_mmu_hv.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c index ef243fed2f2b..a670fa5fbe50 100644 --- a/arch/powerpc/kvm/book3s_64_mmu_hv.c +++ b/arch/powerpc/kvm/book3s_64_mmu_hv.c @@ -877,15 +877,6 @@ static int kvm_unmap_rmapp(struct kvm *kvm, struct kvm_memory_slot *memslot, return 0; } -int kvm_unmap_hva_hv(struct kvm *kvm, unsigned long hva) -{ - hva_handler_fn handler; - - handler = kvm_is_radix(kvm) ? kvm_unmap_radix : kvm_unmap_rmapp; - kvm_handle_hva(kvm, hva, handler); - return 0; -} - int kvm_unmap_hva_range_hv(struct kvm *kvm, unsigned long start, unsigned long end) { hva_handler_fn handler; |