Skip to content

Commit

Permalink
KVM: inline kvm_apic_present() and kvm_lapic_enabled()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gleb Natapov authored and Avi Kivity committed Aug 6, 2012
1 parent 54e9818 commit c48f149
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 92 deletions.
Loading

0 comments on commit c48f149

Please sign in to comment.