diff options
author | Greg Kurz <groug@kaod.org> | 2020-03-18 18:43:36 +0100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2020-03-19 06:39:52 +0100 |
commit | 3f1268dda8e47f808f4f50f24715b84d4b228bf3 (patch) | |
tree | 827a74afda6a70bcf6bd5032f5486d6711bc783f /arch/powerpc/kvm/book3s.h | |
parent | KVM: PPC: Book3S PR: Fix kernel crash with PR KVM (diff) | |
download | linux-3f1268dda8e47f808f4f50f24715b84d4b228bf3.tar.xz linux-3f1268dda8e47f808f4f50f24715b84d4b228bf3.zip |
KVM: PPC: Book3S PR: Move kvmppc_mmu_init() into PR KVM
This is only relevant to PR KVM. Make it obvious by moving the
function declaration to the Book3s header and rename it with
a _pr suffix.
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s.h')
-rw-r--r-- | arch/powerpc/kvm/book3s.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s.h b/arch/powerpc/kvm/book3s.h index 3a4613985949..eae259ee49af 100644 --- a/arch/powerpc/kvm/book3s.h +++ b/arch/powerpc/kvm/book3s.h @@ -16,6 +16,7 @@ extern int kvm_age_hva_hv(struct kvm *kvm, unsigned long start, extern int kvm_test_age_hva_hv(struct kvm *kvm, unsigned long hva); extern void kvm_set_spte_hva_hv(struct kvm *kvm, unsigned long hva, pte_t pte); +extern int kvmppc_mmu_init_pr(struct kvm_vcpu *vcpu); extern void kvmppc_mmu_destroy_pr(struct kvm_vcpu *vcpu); extern int kvmppc_core_emulate_op_pr(struct kvm_run *run, struct kvm_vcpu *vcpu, unsigned int inst, int *advance); |