diff options
author | Xiantao Zhang <xiantao.zhang@intel.com> | 2008-09-26 23:46:36 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-10-15 08:25:36 -0400 |
commit | 2f7497719179a9f3270b05434be989d21f9fdc09 (patch) | |
tree | 1fd56153b634b50af4c24253a103bb31823025b9 /virt/kvm/ioapic.h | |
parent | 3de42dc094ecd313dc7d551e007a134b52f8663d (diff) |
KVM: Move irqchip_in_kernel() from ioapic.h to irq.h
Moving irqchip_in_kernel() from ioapic.h to irq.h.
Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'virt/kvm/ioapic.h')
-rw-r--r-- | virt/kvm/ioapic.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/virt/kvm/ioapic.h b/virt/kvm/ioapic.h index b52732f493c1..cd7ae7691c9d 100644 --- a/virt/kvm/ioapic.h +++ b/virt/kvm/ioapic.h | |||
@@ -79,13 +79,6 @@ static inline struct kvm_ioapic *ioapic_irqchip(struct kvm *kvm) | |||
79 | return kvm->arch.vioapic; | 79 | return kvm->arch.vioapic; |
80 | } | 80 | } |
81 | 81 | ||
82 | #ifdef CONFIG_IA64 | ||
83 | static inline int irqchip_in_kernel(struct kvm *kvm) | ||
84 | { | ||
85 | return 1; | ||
86 | } | ||
87 | #endif | ||
88 | |||
89 | struct kvm_vcpu *kvm_get_lowest_prio_vcpu(struct kvm *kvm, u8 vector, | 82 | struct kvm_vcpu *kvm_get_lowest_prio_vcpu(struct kvm *kvm, u8 vector, |
90 | unsigned long bitmap); | 83 | unsigned long bitmap); |
91 | void kvm_ioapic_update_eoi(struct kvm *kvm, int vector, int trigger_mode); | 84 | void kvm_ioapic_update_eoi(struct kvm *kvm, int vector, int trigger_mode); |