aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-11-14 07:08:51 -0500
committerAvi Kivity <avi@qumranet.com>2008-01-30 10:53:02 -0500
commitd825ed0a97b8e82597dd652bfe51fed3fa9b3c9a (patch)
tree643af5a996516d049437a6714c7adc8f9e9e9748
parente0506bcba5992650b1190de9125f5963a30f32e2 (diff)
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>
-rw-r--r--drivers/kvm/kvm_main.c2
-rw-r--r--drivers/kvm/x86.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index d68901bd0693..6aaba79f8c5a 100644
--- a/drivers/kvm/kvm_main.c
+++ b/drivers/kvm/kvm_main.c
@@ -17,7 +17,6 @@
17 17
18#include "kvm.h" 18#include "kvm.h"
19#include "x86.h" 19#include "x86.h"
20#include "x86_emulate.h"
21#include "irq.h" 20#include "irq.h"
22 21
23#include <linux/kvm.h> 22#include <linux/kvm.h>
@@ -44,7 +43,6 @@
44#include <linux/mman.h> 43#include <linux/mman.h>
45 44
46#include <asm/processor.h> 45#include <asm/processor.h>
47#include <asm/msr.h>
48#include <asm/io.h> 46#include <asm/io.h>
49#include <asm/uaccess.h> 47#include <asm/uaccess.h>
50#include <asm/desc.h> 48#include <asm/desc.h>
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 @@
16 16
17#include "kvm.h" 17#include "kvm.h"
18#include "x86.h" 18#include "x86.h"
19#include "x86_emulate.h"
19#include "segment_descriptor.h" 20#include "segment_descriptor.h"
20#include "irq.h" 21#include "irq.h"
21 22
@@ -25,6 +26,7 @@
25#include <linux/module.h> 26#include <linux/module.h>
26 27
27#include <asm/uaccess.h> 28#include <asm/uaccess.h>
29#include <asm/msr.h>
28 30
29#define MAX_IO_MSRS 256 31#define MAX_IO_MSRS 256
30#define CR0_RESERVED_BITS \ 32#define CR0_RESERVED_BITS \