summaryrefslogtreecommitdiff
path: root/drivers/kvm/x86.c
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-11-14 20:08:51 +0800
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:53:02 +0200
commitd825ed0a97b8e82597dd652bfe51fed3fa9b3c9a (patch)
tree643af5a996516d049437a6714c7adc8f9e9e9748 /drivers/kvm/x86.c
parente0506bcba5992650b1190de9125f5963a30f32e2 (diff)
downloadlwn-d825ed0a97b8e82597dd652bfe51fed3fa9b3c9a.tar.gz
lwn-d825ed0a97b8e82597dd652bfe51fed3fa9b3c9a.zip
KVM: Portability: Move some includes to x86.c
Move some includes to x86.c from kvm_main.c, since the related functions have been moved to x86.c Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Acked-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/x86.c')
-rw-r--r--drivers/kvm/x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c
index 394da6605364..4282a0fb2962 100644
--- a/drivers/kvm/x86.c
+++ b/drivers/kvm/x86.c
@@ -16,6 +16,7 @@
#include "kvm.h"
#include "x86.h"
+#include "x86_emulate.h"
#include "segment_descriptor.h"
#include "irq.h"
@@ -25,6 +26,7 @@
#include <linux/module.h>
#include <asm/uaccess.h>
+#include <asm/msr.h>
#define MAX_IO_MSRS 256
#define CR0_RESERVED_BITS \