]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: X86: Move irrelevant declarations out of ioapic.h
authorPeter Xu <peterx@redhat.com>
Wed, 4 Dec 2019 19:07:17 +0000 (20:07 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Jan 2020 16:33:14 +0000 (17:33 +0100)
commit68bb690e056a29434b3f6acbc409f65f88ecdf85
treee3d75306e28f02eca7e936af5e6bacec224f2e09
parentf6721363be94bf4fb16fb7a31f4a61949c1d5f96
KVM: X86: Move irrelevant declarations out of ioapic.h

kvm_apic_match_dest() is declared in both ioapic.h and lapic.h.
Remove the declaration in ioapic.h.

kvm_apic_compare_prio() is declared in ioapic.h but defined in
lapic.c.  Move the declaration to lapic.h.

kvm_irq_delivery_to_apic() is declared in ioapic.h but defined in
irq_comm.c.  Move the declaration to irq.h.

hyperv.c needs to use kvm_irq_delivery_to_apic(). Include irq.h in
hyperv.c.

Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c
arch/x86/kvm/ioapic.h
arch/x86/kvm/irq.h
arch/x86/kvm/lapic.h