diff options
Diffstat (limited to 'arch/x86/kvm/lapic.c')
| -rw-r--r-- | arch/x86/kvm/lapic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index c297c50eba63..ebc03f5ae162 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c | |||
| @@ -940,6 +940,7 @@ static int __apic_timer_fn(struct kvm_lapic *apic) | |||
| 940 | wait_queue_head_t *q = &apic->vcpu->wq; | 940 | wait_queue_head_t *q = &apic->vcpu->wq; |
| 941 | 941 | ||
| 942 | atomic_inc(&apic->timer.pending); | 942 | atomic_inc(&apic->timer.pending); |
| 943 | set_bit(KVM_REQ_PENDING_TIMER, &apic->vcpu->requests); | ||
| 943 | if (waitqueue_active(q)) { | 944 | if (waitqueue_active(q)) { |
| 944 | apic->vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; | 945 | apic->vcpu->arch.mp_state = KVM_MP_STATE_RUNNABLE; |
| 945 | wake_up_interruptible(q); | 946 | wake_up_interruptible(q); |
