aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/ia64/kvm/irq.h4
-rw-r--r--arch/ia64/kvm/kvm-ia64.c1
-rw-r--r--virt/kvm/ioapic.h7
3 files changed, 5 insertions, 7 deletions
diff --git a/arch/ia64/kvm/irq.h b/arch/ia64/kvm/irq.h
index 604329ac3c99..c6786e8b1bf4 100644
--- a/arch/ia64/kvm/irq.h
+++ b/arch/ia64/kvm/irq.h
@@ -23,5 +23,9 @@
23#ifndef __IRQ_H 23#ifndef __IRQ_H
24#define __IRQ_H 24#define __IRQ_H
25 25
26static inline int irqchip_in_kernel(struct kvm *kvm)
27{
28 return 1;
29}
26 30
27#endif 31#endif
diff --git a/arch/ia64/kvm/kvm-ia64.c b/arch/ia64/kvm/kvm-ia64.c
index 7ad759e34295..a6cf719811b7 100644
--- a/arch/ia64/kvm/kvm-ia64.c
+++ b/arch/ia64/kvm/kvm-ia64.c
@@ -45,6 +45,7 @@
45#include "iodev.h" 45#include "iodev.h"
46#include "ioapic.h" 46#include "ioapic.h"
47#include "lapic.h" 47#include "lapic.h"
48#include "irq.h"
48 49
49static unsigned long kvm_vmm_base; 50static unsigned long kvm_vmm_base;
50static unsigned long kvm_vsa_base; 51static unsigned long kvm_vsa_base;
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
83static inline int irqchip_in_kernel(struct kvm *kvm)
84{
85 return 1;
86}
87#endif
88
89struct kvm_vcpu *kvm_get_lowest_prio_vcpu(struct kvm *kvm, u8 vector, 82struct kvm_vcpu *kvm_get_lowest_prio_vcpu(struct kvm *kvm, u8 vector,
90 unsigned long bitmap); 83 unsigned long bitmap);
91void kvm_ioapic_update_eoi(struct kvm *kvm, int vector, int trigger_mode); 84void kvm_ioapic_update_eoi(struct kvm *kvm, int vector, int trigger_mode);