]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: Move x2APIC ICR helper above kvm_apic_write_nodecode()
authorSean Christopherson <seanjc@google.com>
Fri, 19 Jul 2024 23:50:59 +0000 (16:50 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:47 +0000 (16:29 +0200)
commitbeef3353c601d1c6093328be6c938ccf5592ec5d
treef4b97aa80ba4a56bf03e87ff814bb25788a91257
parent7eae461dc35763e8d1d4c7fd34f4a6ed41b83603
KVM: x86: Move x2APIC ICR helper above kvm_apic_write_nodecode()

commit d33234342f8b468e719e05649fd26549fb37ef8a upstream.

Hoist kvm_x2apic_icr_write() above kvm_apic_write_nodecode() so that a
local helper to _read_ the x2APIC ICR can be added and used in the
nodecode path without needing a forward declaration.

No functional change intended.

Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240719235107.3023592-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/lapic.c