aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-11-01 18:35:50 +0000
committerSean Christopherson <[email protected]>2024-11-05 04:57:46 +0000
commitadfec1f4591cf8c69664104eaf41e06b2e7b767e (patch)
tree9fc8b484e8770d09e4aff203b4dcdaf59ba10edf /rust/helpers/helpers.c
parentKVM: x86: Get vcpu->arch.apic_base directly and drop kvm_get_apic_base() (diff)
downloadkernel-adfec1f4591cf8c69664104eaf41e06b2e7b767e.tar.gz
kernel-adfec1f4591cf8c69664104eaf41e06b2e7b767e.zip
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 <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions