KVM: use jump label to optimize checking for SW enabled apic in spurious interrupt...
authorGleb Natapov <gleb@redhat.com>
Sun, 5 Aug 2012 12:58:31 +0000 (15:58 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 6 Aug 2012 16:00:43 +0000 (19:00 +0300)
commitf8c1ea103947038b7197bdd4c8451886a58af0c0
tree2be54d53e13fa0ff587d1728b654962fe9088c69
parentc5cc421ba3219b90f11d151bc55f1608c12830fa
KVM: use jump label to optimize checking for SW enabled apic in spurious interrupt register

Usually all APICs are SW enabled so the check can be optimized out.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/lapic.c