]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: ia64: define kvm_lapic_enabled() to fix a compile error
authorTakuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Thu, 2 Sep 2010 08:55:00 +0000 (17:55 +0900)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:00 +0000 (10:52 +0200)
commitb027e3243a4fae6ecce02a77ee2840b9b2c8ff17
tree4da311cf4f26fd8e00af3e7f60e46dd3d167574b
parent2d1687dab4181ee65cc4ff4d8dd0af411b6343f9
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>
arch/ia64/kvm/lapic.h