]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/powerpc/kvm/booke.c
KVM: PPC: Pass enum to kvmppc_get_last_inst
[karo-tx-linux.git] / arch / powerpc / kvm / booke.c
index ed5b0dd58726086dffaeae619e3b0142ce533e03..9b55dec2d6cc11846576abe16f286c87dc873b50 100644 (file)
@@ -992,12 +992,12 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
        case BOOKE_INTERRUPT_DATA_STORAGE:
        case BOOKE_INTERRUPT_DTLB_MISS:
        case BOOKE_INTERRUPT_HV_PRIV:
-               emulated = kvmppc_get_last_inst(vcpu, false, &last_inst);
+               emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &last_inst);
                break;
        case BOOKE_INTERRUPT_PROGRAM:
                /* SW breakpoints arrive as illegal instructions on HV */
                if (vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP)
-                       emulated = kvmppc_get_last_inst(vcpu, false, &last_inst);
+                       emulated = kvmppc_get_last_inst(vcpu, INST_GENERIC, &last_inst);
                break;
        default:
                break;