]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/apic: KVM: Move apic_test)vector() to common code
authorNeeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Wed, 9 Jul 2025 03:32:20 +0000 (09:02 +0530)
committerSean Christopherson <seanjc@google.com>
Thu, 10 Jul 2025 16:44:43 +0000 (09:44 -0700)
commit17776e6c203bd3a9be795fb0a2fd72191a201ac9
tree1532d364ac09401f8e921ee38a3f8fdeae274b7b
parentfe954bcd577e703acdef597903079c991740f6bf
x86/apic: KVM: Move apic_test)vector() to common code

Move apic_test_vector() to apic.h in order to reuse it in the Secure AVIC
guest APIC driver in later patches to test vector state in the APIC
backing page.

No functional change intended.

Signed-off-by: Neeraj Upadhyay <Neeraj.Upadhyay@amd.com>
Acked-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20250709033242.267892-14-Neeraj.Upadhyay@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/apic.h
arch/x86/kvm/lapic.c