summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/irq.h
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2007-12-03 15:30:25 -0600
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:17 +0200
commite01a1b570f66ad318239517adbcc2cbe368d0a46 (patch)
tree2400a276ef5db5087319a9ab92b3917243071db0 /drivers/kvm/irq.h
parente2174021cfa535dbcaef02dc6f2897019c30731d (diff)
downloadlinux-e01a1b570f66ad318239517adbcc2cbe368d0a46.tar.bz2
KVM: Portability: Stop including x86-specific headers in kvm_main.c
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/irq.h')
-rw-r--r--drivers/kvm/irq.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h
index 803b9c7db57b..730a87c173e5 100644
--- a/drivers/kvm/irq.h
+++ b/drivers/kvm/irq.h
@@ -22,9 +22,14 @@
#ifndef __IRQ_H
#define __IRQ_H
-#include "kvm.h"
+#include <linux/mm_types.h>
+#include <linux/hrtimer.h>
+#include <asm/kvm.h>
#include "iodev.h"
+struct kvm;
+struct kvm_vcpu;
+
typedef void irq_request_func(void *opaque, int level);
struct kvm_kpic_state {