diff options
author | Greg Kurz <groug@kaod.org> | 2020-03-18 18:43:42 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2020-03-19 06:43:07 +0100 |
commit | 6fef0c6bbe4987fc94c14f52782b224ddaf3530b (patch) | |
tree | fc77b30d250a72fa0bea725ac676399647ea0319 /arch/powerpc/kvm/booke.h | |
parent | KVM: PPC: Book3S PR: Move kvmppc_mmu_init() into PR KVM (diff) | |
download | linux-6fef0c6bbe4987fc94c14f52782b224ddaf3530b.tar.xz linux-6fef0c6bbe4987fc94c14f52782b224ddaf3530b.zip |
KVM: PPC: Kill kvmppc_ops::mmu_destroy() and kvmppc_mmu_destroy()
These are only used by HV KVM and BookE, and in both cases they are
nops.
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/booke.h')
-rw-r--r-- | arch/powerpc/kvm/booke.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/booke.h b/arch/powerpc/kvm/booke.h index 9d3169fbce55..65b4d337d337 100644 --- a/arch/powerpc/kvm/booke.h +++ b/arch/powerpc/kvm/booke.h @@ -94,7 +94,6 @@ enum int_class { void kvmppc_set_pending_interrupt(struct kvm_vcpu *vcpu, enum int_class type); -extern void kvmppc_mmu_destroy_e500(struct kvm_vcpu *vcpu); extern int kvmppc_core_emulate_op_e500(struct kvm_run *run, struct kvm_vcpu *vcpu, unsigned int inst, int *advance); @@ -102,7 +101,6 @@ extern int kvmppc_core_emulate_mtspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong spr_val); extern int kvmppc_core_emulate_mfspr_e500(struct kvm_vcpu *vcpu, int sprn, ulong *spr_val); -extern void kvmppc_mmu_destroy_e500(struct kvm_vcpu *vcpu); extern int kvmppc_core_emulate_op_e500(struct kvm_run *run, struct kvm_vcpu *vcpu, unsigned int inst, int *advance); |