diff options
author | Xiantao Zhang <xiantao.zhang@intel.com> | 2008-09-27 03:46:36 (GMT) |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2008-10-15 12:25:36 (GMT) |
commit | 2f7497719179a9f3270b05434be989d21f9fdc09 (patch) | |
tree | 1fd56153b634b50af4c24253a103bb31823025b9 /arch/ia64/kvm/irq.h | |
parent | 3de42dc094ecd313dc7d551e007a134b52f8663d (diff) | |
download | linux-2f7497719179a9f3270b05434be989d21f9fdc09.tar.xz |
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/ia64/kvm/irq.h')
-rw-r--r-- | arch/ia64/kvm/irq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ia64/kvm/irq.h b/arch/ia64/kvm/irq.h index 604329a..c6786e8 100644 --- a/arch/ia64/kvm/irq.h +++ b/arch/ia64/kvm/irq.h @@ -23,5 +23,9 @@ #ifndef __IRQ_H #define __IRQ_H +static inline int irqchip_in_kernel(struct kvm *kvm) +{ + return 1; +} #endif |