KVM: x86: Simplify __apic_accept_irq
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 25 Jul 2013 07:58:45 +0000 (09:58 +0200)
committerGleb Natapov <gleb@redhat.com>
Thu, 25 Jul 2013 10:42:35 +0000 (13:42 +0300)
commit11f5cc051503e54cf786bdbaf0e4ff9cad01df1e
tree483ba29d66ff9316c3d66220720809bfe450c9fc
parent103af0a98788592b76ee69a13948b6b3036d7e18
KVM: x86: Simplify __apic_accept_irq

If posted interrupts are enabled, we can no longer track if an IRQ was
coalesced based on IRR. So drop this logic also from the classic
software path and simplify apic_test_and_set_irr to apic_set_irr.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/lapic.c