]> git.baikalelectronics.ru Git - kernel.git/commitdiff
KVM: PPC: Book3S PR: Declare kvmppc_handle_exit_pr()
authorCédric Le Goater <clg@kaod.org>
Thu, 19 Aug 2021 12:56:53 +0000 (14:56 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 20 Aug 2021 12:17:38 +0000 (22:17 +1000)
This fixes a compile error with W=1.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210819125656.14498-4-clg@kaod.org
arch/powerpc/kvm/book3s.h

index 740e51def5a5cc47cf4d1503571968a77909b3de..58391b4b32ed2d36ac4ec4e4acc9937b692713cd 100644 (file)
@@ -23,7 +23,8 @@ extern int kvmppc_core_emulate_mtspr_pr(struct kvm_vcpu *vcpu,
 extern int kvmppc_core_emulate_mfspr_pr(struct kvm_vcpu *vcpu,
                                        int sprn, ulong *spr_val);
 extern int kvmppc_book3s_init_pr(void);
-extern void kvmppc_book3s_exit_pr(void);
+void kvmppc_book3s_exit_pr(void);
+extern int kvmppc_handle_exit_pr(struct kvm_vcpu *vcpu, unsigned int exit_nr);
 
 #ifdef CONFIG_PPC_TRANSACTIONAL_MEM
 extern void kvmppc_emulate_tabort(struct kvm_vcpu *vcpu, int ra_val);