diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2007-12-03 16:30:25 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:17 -0500 |
commit | e01a1b570f66ad318239517adbcc2cbe368d0a46 (patch) | |
tree | 2400a276ef5db5087319a9ab92b3917243071db0 /drivers/kvm/irq.h | |
parent | e2174021cfa535dbcaef02dc6f2897019c30731d (diff) |
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.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h index 803b9c7db57..730a87c173e 100644 --- a/drivers/kvm/irq.h +++ b/drivers/kvm/irq.h | |||
@@ -22,9 +22,14 @@ | |||
22 | #ifndef __IRQ_H | 22 | #ifndef __IRQ_H |
23 | #define __IRQ_H | 23 | #define __IRQ_H |
24 | 24 | ||
25 | #include "kvm.h" | 25 | #include <linux/mm_types.h> |
26 | #include <linux/hrtimer.h> | ||
27 | #include <asm/kvm.h> | ||
26 | #include "iodev.h" | 28 | #include "iodev.h" |
27 | 29 | ||
30 | struct kvm; | ||
31 | struct kvm_vcpu; | ||
32 | |||
28 | typedef void irq_request_func(void *opaque, int level); | 33 | typedef void irq_request_func(void *opaque, int level); |
29 | 34 | ||
30 | struct kvm_kpic_state { | 35 | struct kvm_kpic_state { |