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/e500_mmu_host.c | |
parent | a8b48a4dccea77e29462e59f1dbf0d5aa1ff167c (diff) | |
download | lwn-39c983ea0f96a270d4876c4148e3bb2d9cd3294f.tar.gz lwn-39c983ea0f96a270d4876c4148e3bb2d9cd3294f.zip |
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/e500_mmu_host.c')
-rw-r--r-- | arch/powerpc/kvm/e500_mmu_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/e500_mmu_host.c b/arch/powerpc/kvm/e500_mmu_host.c index 423b21393bc9..c878b4ffb86f 100644 --- a/arch/powerpc/kvm/e500_mmu_host.c +++ b/arch/powerpc/kvm/e500_mmu_host.c @@ -724,7 +724,7 @@ int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, enum instruction_type type, /************* MMU Notifiers *************/ -int kvm_unmap_hva(struct kvm *kvm, unsigned long hva) +static int kvm_unmap_hva(struct kvm *kvm, unsigned long hva) { trace_kvm_unmap_hva(hva); |