summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>2010-09-02 17:55:00 +0900
committerAvi Kivity <avi@redhat.com>2010-10-24 10:52:00 +0200
commit55438cc751c32cfafac52938403a86069e25b1bf (patch)
tree4da311cf4f26fd8e00af3e7f60e46dd3d167574b /arch/ia64
parent30644b902c5eef5328d37a2e15f1921aaca2588b (diff)
downloadop-kernel-dev-55438cc751c32cfafac52938403a86069e25b1bf.zip
op-kernel-dev-55438cc751c32cfafac52938403a86069e25b1bf.tar.gz
KVM: ia64: define kvm_lapic_enabled() to fix a compile error
The following patch commit 57ce1659316f4ca298919649f9b1b55862ac3826 KVM: x86: In DM_LOWEST, only deliver interrupts to vcpus with enabled LAPIC's ignored the fact that kvm_irq_delivery_to_apic() was also used by ia64. We define kvm_lapic_enabled() to fix a compile error caused by this. This will have the same effect as reverting the problematic patch for ia64. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r--arch/ia64/kvm/lapic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/kvm/lapic.h b/arch/ia64/kvm/lapic.h
index ee541ce..c5f92a9 100644
--- a/arch/ia64/kvm/lapic.h
+++ b/arch/ia64/kvm/lapic.h
@@ -25,5 +25,6 @@ int kvm_apic_match_dest(struct kvm_vcpu *vcpu, struct kvm_lapic *source,
int kvm_apic_compare_prio(struct kvm_vcpu *vcpu1, struct kvm_vcpu *vcpu2);
int kvm_apic_set_irq(struct kvm_vcpu *vcpu, struct kvm_lapic_irq *irq);
#define kvm_apic_present(x) (true)
+#define kvm_lapic_enabled(x) (true)
#endif
OpenPOWER on IntegriCloud