aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/lapic.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-11-01 18:35:53 +0000
committerSean Christopherson <[email protected]>2024-11-05 04:57:46 +0000
commitff6ce56e1d8889cf572874046d51325884e17e2c (patch)
tree58d907a876bbb7bfe73ab0b3ec76e42ae8dc1e67 /arch/x86/kvm/lapic.c
parentKVM: x86: Rename APIC base setters to better capture their relationship (diff)
downloadkernel-ff6ce56e1d8889cf572874046d51325884e17e2c.tar.gz
kernel-ff6ce56e1d8889cf572874046d51325884e17e2c.zip
KVM: x86: Make kvm_recalculate_apic_map() local to lapic.c
Make kvm_recalculate_apic_map() local to lapic.c now that all external callers are gone. 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 'arch/x86/kvm/lapic.c')
-rw-r--r--arch/x86/kvm/lapic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c
index c07042684ec2..3152a4f56e6a 100644
--- a/arch/x86/kvm/lapic.c
+++ b/arch/x86/kvm/lapic.c
@@ -382,7 +382,7 @@ enum {
DIRTY
};
-void kvm_recalculate_apic_map(struct kvm *kvm)
+static void kvm_recalculate_apic_map(struct kvm *kvm)
{
struct kvm_apic_map *new, *old = NULL;
struct kvm_vcpu *vcpu;