diff options
| author | Sean Christopherson <[email protected]> | 2024-11-01 18:35:50 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2024-11-05 04:57:46 +0000 |
| commit | adfec1f4591cf8c69664104eaf41e06b2e7b767e (patch) | |
| tree | 9fc8b484e8770d09e4aff203b4dcdaf59ba10edf /rust/helpers/mutex.c | |
| parent | KVM: x86: Get vcpu->arch.apic_base directly and drop kvm_get_apic_base() (diff) | |
| download | kernel-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/mutex.c')
0 files changed, 0 insertions, 0 deletions
