Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KVM: PPC: Book3s: Fix warning about xics_rm_h_xirr_x

This fixes "no previous prototype":

arch/powerpc/kvm/book3s_hv_rm_xics.c:482:15:
warning: no previous prototype for 'xics_rm_h_xirr_x' [-Wmissing-prototypes]

Reported by the kernel test robot.

Fixes: b22af9041927 ("KVM: PPC: Book3s: Remove real mode interrupt controller hcalls handlers")
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220622055235.1139204-1-aik@ozlabs.ru

authored by

Alexey Kardashevskiy and committed by
Michael Ellerman
a784101f b13baccc

+1
+1
arch/powerpc/kvm/book3s_xics.h
··· 143 143 } 144 144 145 145 extern unsigned long xics_rm_h_xirr(struct kvm_vcpu *vcpu); 146 + extern unsigned long xics_rm_h_xirr_x(struct kvm_vcpu *vcpu); 146 147 extern int xics_rm_h_ipi(struct kvm_vcpu *vcpu, unsigned long server, 147 148 unsigned long mfrr); 148 149 extern int xics_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);