KVM: MIPS/VZ: Fix build error caused by 'kvm_run' cleanup
authorXingxing Su <suxingxing@loongson.cn>
Tue, 11 Aug 2020 11:18:37 +0000 (07:18 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Aug 2020 11:19:41 +0000 (07:19 -0400)
commite792415c5d3e0eb52527cce228a72e4392f8cae2
tree2537b0e6c3f663d46722f456a0162ac91bbfce97
parent99b48ecc8e800983b6e00a2350daaeceba1f7406
KVM: MIPS/VZ: Fix build error caused by 'kvm_run' cleanup

Commit c34b26b98caca48ec9ee9 ("KVM: MIPS: clean up redundant 'kvm_run'
parameters") remove the 'kvm_run' parameter in kvm_vz_gpsi_lwc2.

The following build error:

arch/mips/kvm/vz.c: In function 'kvm_trap_vz_handle_gpsi':
arch/mips/kvm/vz.c:1243:43: error: 'run' undeclared (first use in this function)
   er = kvm_vz_gpsi_lwc2(inst, opc, cause, run, vcpu);
                                           ^~~
arch/mips/kvm/vz.c:1243:43: note: each undeclared identifier is reported only
once for each function it appears in
scripts/Makefile.build:283: recipe for target 'arch/mips/kvm/vz.o' failed
make[2]: *** [arch/mips/kvm/vz.o] Error 1
scripts/Makefile.build:500: recipe for target 'arch/mips/kvm' failed
make[1]: *** [arch/mips/kvm] Error 2
Makefile:1785: recipe for target 'arch/mips' failed
make: *** [arch/mips] Error 2

Signed-off-by: Xingxing Su <suxingxing@loongson.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/vz.c