diff options
author | Sean Christopherson <seanjc@google.com> | 2025-08-21 14:42:07 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-09-10 12:05:09 -0700 |
commit | cbf5d9457462c83c1bf851c0b8b04296b037a9dd (patch) | |
tree | 6daec3375c7fc10d696ea8d10c27374ef1ad514d /arch/x86/kvm/irq.h | |
parent | c26675447faff8c4ddc1dc5d2cd28326b8181aaf (diff) |
KVM: x86: Move kvm_irq_delivery_to_apic() from irq.c to lapic.c
Move kvm_irq_delivery_to_apic() to lapic.c as it is specific to local APIC
emulation. This will allow burying more local APIC code in lapic.c, e.g.
the various "lowest priority" helpers.
No functional change intended.
Link: https://lore.kernel.org/r/20250821214209.3463350-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/irq.h')
-rw-r--r-- | arch/x86/kvm/irq.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h index 5e62c1f79ce6..34f4a78a7a01 100644 --- a/arch/x86/kvm/irq.h +++ b/arch/x86/kvm/irq.h @@ -121,8 +121,4 @@ void __kvm_migrate_timers(struct kvm_vcpu *vcpu); int apic_has_pending_timer(struct kvm_vcpu *vcpu); -int kvm_irq_delivery_to_apic(struct kvm *kvm, struct kvm_lapic *src, - struct kvm_lapic_irq *irq, - struct dest_map *dest_map); - #endif |