Commit aaac0994 authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: SVM: Make avic_ga_log_notifier() local to avic.c

Make amd_iommu_register_ga_log_notifier() a local symbol now that it's
defined and used purely within avic.c.

No functional change intended.

Fixes: 4bdec12a ("KVM: SVM: Detect X2APIC virtualization (x2AVIC) support")
Link: https://patch.msgid.link/20251016190643.80529-4-seanjc@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent adc6ae97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ static void avic_deactivate_vmcb(struct vcpu_svm *svm)
 * This function is called from IOMMU driver to notify
 * SVM to schedule in a particular vCPU of a particular VM.
 */
int avic_ga_log_notifier(u32 ga_tag)
static int avic_ga_log_notifier(u32 ga_tag)
{
	unsigned long flags;
	struct kvm_svm *kvm_svm;
+0 −1
Original line number Diff line number Diff line
@@ -806,7 +806,6 @@ extern struct kvm_x86_nested_ops svm_nested_ops;

bool __init avic_hardware_setup(void);
void avic_hardware_unsetup(void);
int avic_ga_log_notifier(u32 ga_tag);
void avic_vm_destroy(struct kvm *kvm);
int avic_vm_init(struct kvm *kvm);
void avic_init_vmcb(struct vcpu_svm *svm, struct vmcb *vmcb);