KVM: booke: use __kvm_guest_exit
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 Apr 2015 12:39:40 +0000 (14:39 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 May 2015 09:28:22 +0000 (11:28 +0200)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/powerpc/kvm/booke.c

index 6c1316a15a2729a67ed61bcb6e2ce8b90af6bdbe..3872ab31c80a44034b553ebd42c0449130323fbd 100644 (file)
@@ -1004,10 +1004,10 @@ int kvmppc_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu,
                break;
        }
 
-       local_irq_enable();
-
        trace_kvm_exit(exit_nr, vcpu);
-       kvm_guest_exit();
+       __kvm_guest_exit();
+
+       local_irq_enable();
 
        run->exit_reason = KVM_EXIT_UNKNOWN;
        run->ready_for_interrupt_injection = 1;