]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86: Drop superfluous kvm_set_pic_irq() => kvm_pic_set_irq() wrapper
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 21:35:41 +0000 (14:35 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:42 +0000 (13:52 -0700)
commit8a33b1f246ceeffe5f74b10078a04696060ac537
treeca2a7df668889828e012aa51b0d2acd36ec82f50
parente295d2e7fbe69ddec772c951c466dfbfc1c96818
KVM: x86: Drop superfluous kvm_set_pic_irq() => kvm_pic_set_irq() wrapper

Drop the superfluous and confusing kvm_set_pic_irq() => kvm_pic_set_irq()
wrapper, and instead wire up ->set() directly to its final destination.

Opportunistically move the declaration kvm_pic_set_irq() to irq.h to
start gathering more of the in-kernel APIC/IO-APIC logic in irq.{c,h}.

No functional change intended.

Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250611213557.294358-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/i8259.c
arch/x86/kvm/irq.h
arch/x86/kvm/irq_comm.c