KVM: inline kvm_apic_present() and kvm_lapic_enabled()
authorGleb Natapov <gleb@redhat.com>
Sun, 5 Aug 2012 12:58:33 +0000 (15:58 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 6 Aug 2012 16:00:45 +0000 (19:00 +0300)
commitc48f14966cc41957d88c66dfe49a439e708ab7b8
tree7b8b728a9401fea096710baf122a608301a68e10
parent54e9818f3903902a4ea3046035739b8770880092
KVM: inline kvm_apic_present() and kvm_lapic_enabled()

Those functions are used during interrupt injection. When inlined they
become nops on the fast path.

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