From 3746648fba87c9fc33d00e5b31587b3fd9db9e3c Mon Sep 17 00:00:00 2001 From: Bryan Cantrill Date: Thu, 21 Apr 2011 17:37:52 -0700 Subject: HVM-112 Need something for kvm_vcpu_block (cstyle) --- kvm_x86.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'kvm_x86.c') diff --git a/kvm_x86.c b/kvm_x86.c index 1fc41b3..a051a04 100644 --- a/kvm_x86.c +++ b/kvm_x86.c @@ -4713,10 +4713,8 @@ out: int kvm_arch_vcpu_runnable(struct kvm_vcpu *vcpu) { - return (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE - || vcpu->arch.mp_state == KVM_MP_STATE_SIPI_RECEIVED - || vcpu->arch.nmi_pending || - (kvm_arch_interrupt_allowed(vcpu) && - kvm_cpu_has_interrupt(vcpu))); + return (vcpu->arch.mp_state == KVM_MP_STATE_RUNNABLE || + vcpu->arch.mp_state == KVM_MP_STATE_SIPI_RECEIVED || + vcpu->arch.nmi_pending || + (kvm_arch_interrupt_allowed(vcpu) && kvm_cpu_has_interrupt(vcpu))); } - -- cgit v1.2.3