All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile
@ 2010-09-02  8:55 ` Takuya Yoshikawa
  0 siblings, 0 replies; 19+ messages in thread
From: Takuya Yoshikawa @ 2010-09-02  8:55 UTC (permalink / raw)
  To: kvm-ia64

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>
---
 arch/ia64/kvm/lapic.h |    1 +
 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
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2010-09-29 14:11 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-02  8:55 [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile Takuya Yoshikawa
2010-09-02  8:55 ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error Takuya Yoshikawa
2010-09-02  8:57 ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile Avi Kivity
2010-09-02  8:57   ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error Avi Kivity
2010-09-27  6:51 ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile Takuya Yoshikawa
2010-09-27  6:51   ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error Takuya Yoshikawa
2010-09-27  9:49 ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile Avi Kivity
2010-09-27  9:49   ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error Avi Kivity
2010-09-27  9:52 ` Alexander Graf
2010-09-27  9:52   ` Alexander Graf
2010-09-27  9:52   ` Alexander Graf
2010-09-27 10:01 ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile Zhang, Xiantao
2010-09-27 10:01   ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error Zhang, Xiantao
2010-09-27 10:31 ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile Takuya Yoshikawa
2010-09-27 10:31   ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error Takuya Yoshikawa
2010-09-28  9:27 ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile Avi Kivity
2010-09-28  9:27   ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error Avi Kivity
2010-09-29 14:10 ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile Zhang, Xiantao
2010-09-29 14:10   ` [PATCH] KVM: ia64: define kvm_lapic_enabled() to fix a compile error Zhang, Xiantao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.