aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/lapic.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/kvm/lapic.c')
-rw-r--r--drivers/kvm/lapic.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/kvm/lapic.c b/drivers/kvm/lapic.c
index 554e73ad33f0..e15b42e48862 100644
--- a/drivers/kvm/lapic.c
+++ b/drivers/kvm/lapic.c
@@ -906,8 +906,7 @@ static int __apic_timer_fn(struct kvm_lapic *apic)
906 wait_queue_head_t *q = &apic->vcpu->wq; 906 wait_queue_head_t *q = &apic->vcpu->wq;
907 907
908 atomic_inc(&apic->timer.pending); 908 atomic_inc(&apic->timer.pending);
909 if (waitqueue_active(q)) 909 if (waitqueue_active(q)) {
910 {
911 apic->vcpu->mp_state = VCPU_MP_STATE_RUNNABLE; 910 apic->vcpu->mp_state = VCPU_MP_STATE_RUNNABLE;
912 wake_up_interruptible(q); 911 wake_up_interruptible(q);
913 } 912 }