diff options
author | Eric Auger <eric.auger@redhat.com> | 2016-07-22 16:20:40 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-07-22 18:52:00 +0100 |
commit | d9565a7399d665fa7313122504778cb3d5ef3e19 (patch) | |
tree | 83f057b08f6284a0b207b0b527135cb0ac172508 /arch | |
parent | ebe915259c731ee75e94ca86774c3d61df734d28 (diff) |
KVM: Move kvm_setup_default/empty_irq_routing declaration in arch specific header
kvm_setup_default_irq_routing and kvm_setup_empty_irq_routing are
not used by generic code. So let's move the declarations in x86 irq.h
header instead of kvm_host.h.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Suggested-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kvm/irq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h index 61ebdc13a29a..035731eb3897 100644 --- a/arch/x86/kvm/irq.h +++ b/arch/x86/kvm/irq.h @@ -120,4 +120,7 @@ void __kvm_migrate_timers(struct kvm_vcpu *vcpu); int apic_has_pending_timer(struct kvm_vcpu *vcpu); +int kvm_setup_default_irq_routing(struct kvm *kvm); +int kvm_setup_empty_irq_routing(struct kvm *kvm); + #endif |