KVM: x86: Move definition of X2APIC_MSR() to lapic.h
authorSean Christopherson <seanjc@google.com>
Tue, 10 Jun 2025 22:57:22 +0000 (15:57 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:07:28 +0000 (13:07 -0700)
commit405a63d4d3865eeff1d7f4811686ad4ac7593638
tree0314312fd8017b4bda9ec9da54e2d458b109d7d4
parentcb53d079484c989c7fde2413e6181b704cf13f89
KVM: x86: Move definition of X2APIC_MSR() to lapic.h

Dedup the definition of X2APIC_MSR and put it in the local APIC code
where it belongs.

No functional change intended.

Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://lore.kernel.org/r/20250610225737.156318-18-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/lapic.h
arch/x86/kvm/svm/svm.c
arch/x86/kvm/vmx/vmx.h