diff options
-rw-r--r-- | arch/x86/kvm/i8254.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/i8254.c b/arch/x86/kvm/i8254.c index 7d04dd3ef857..c842060c6c04 100644 --- a/arch/x86/kvm/i8254.c +++ b/arch/x86/kvm/i8254.c | |||
@@ -228,7 +228,7 @@ void kvm_pit_ack_irq(struct kvm_irq_ack_notifier *kian) | |||
228 | irq_ack_notifier); | 228 | irq_ack_notifier); |
229 | spin_lock(&ps->inject_lock); | 229 | spin_lock(&ps->inject_lock); |
230 | if (atomic_dec_return(&ps->pit_timer.pending) < 0) | 230 | if (atomic_dec_return(&ps->pit_timer.pending) < 0) |
231 | WARN_ON(1); | 231 | atomic_inc(&ps->pit_timer.pending); |
232 | ps->irq_ack = 1; | 232 | ps->irq_ack = 1; |
233 | spin_unlock(&ps->inject_lock); | 233 | spin_unlock(&ps->inject_lock); |
234 | } | 234 | } |