diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2007-12-03 15:30:25 -0600 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:17 +0200 |
commit | e01a1b570f66ad318239517adbcc2cbe368d0a46 (patch) | |
tree | 2400a276ef5db5087319a9ab92b3917243071db0 /drivers/kvm/kvm.h | |
parent | e2174021cfa535dbcaef02dc6f2897019c30731d (diff) | |
download | linux-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/kvm.h')
-rw-r--r-- | drivers/kvm/kvm.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h index a1b7d1c00bde..0d3555bf5333 100644 --- a/drivers/kvm/kvm.h +++ b/drivers/kvm/kvm.h @@ -288,11 +288,6 @@ static inline int irqchip_in_kernel(struct kvm *kvm) return pic_irqchip(kvm) != NULL; } -struct descriptor_table { - u16 limit; - unsigned long base; -} __attribute__((packed)); - /* The guest did something we don't support. */ #define pr_unimpl(vcpu, fmt, ...) \ do { \ @@ -457,4 +452,8 @@ struct kvm_stats_debugfs_item { }; extern struct kvm_stats_debugfs_item debugfs_entries[]; +#if defined(CONFIG_X86) +#include "x86.h" +#endif + #endif |