summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-11-01 21:35:50 +0300
committerSean Christopherson <seanjc@google.com>2024-11-05 07:57:46 +0300
commitadfec1f4591cf8c69664104eaf41e06b2e7b767e (patch)
tree9fc8b484e8770d09e4aff203b4dcdaf59ba10edf /rust/helpers/helpers.c
parentd91060e342a66b52d9bd64f0b123b9c306293b76 (diff)
downloadlinux-adfec1f4591cf8c69664104eaf41e06b2e7b767e.tar.xz
KVM: x86: Inline kvm_get_apic_mode() in lapic.h
Inline kvm_get_apic_mode() in lapic.h to avoid a CALL+RET as well as an export. The underlying kvm_apic_mode() helper is public information, i.e. there is no state/information that needs to be hidden from vendor modules. No functional change intended. Reviewed-by: Kai Huang <kai.huang@intel.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Link: https://lore.kernel.org/r/20241009181742.1128779-5-seanjc@google.com Link: https://lore.kernel.org/r/20241101183555.1794700-5-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions