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/kvm.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/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) | |||
288 | return pic_irqchip(kvm) != NULL; | 288 | return pic_irqchip(kvm) != NULL; |
289 | } | 289 | } |
290 | 290 | ||
291 | struct descriptor_table { | ||
292 | u16 limit; | ||
293 | unsigned long base; | ||
294 | } __attribute__((packed)); | ||
295 | |||
296 | /* The guest did something we don't support. */ | 291 | /* The guest did something we don't support. */ |
297 | #define pr_unimpl(vcpu, fmt, ...) \ | 292 | #define pr_unimpl(vcpu, fmt, ...) \ |
298 | do { \ | 293 | do { \ |
@@ -457,4 +452,8 @@ struct kvm_stats_debugfs_item { | |||
457 | }; | 452 | }; |
458 | extern struct kvm_stats_debugfs_item debugfs_entries[]; | 453 | extern struct kvm_stats_debugfs_item debugfs_entries[]; |
459 | 454 | ||
455 | #if defined(CONFIG_X86) | ||
456 | #include "x86.h" | ||
457 | #endif | ||
458 | |||
460 | #endif | 459 | #endif |