aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorXiantao Zhang <xiantao.zhang@intel.com>2008-09-26 23:46:36 -0400
committerAvi Kivity <avi@redhat.com>2008-10-15 08:25:36 -0400
commit2f7497719179a9f3270b05434be989d21f9fdc09 (patch)
tree1fd56153b634b50af4c24253a103bb31823025b9 /arch
parent3de42dc094ecd313dc7d551e007a134b52f8663d (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 'arch')
-rw-r--r--arch/ia64/kvm/irq.h4
-rw-r--r--arch/ia64/kvm/kvm-ia64.c1
2 files changed, 5 insertions, 0 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;