From: Zhang Xiantao Date: Wed, 14 Nov 2007 12:08:51 +0000 (+0800) Subject: KVM: Portability: Move some includes to x86.c X-Git-Tag: v2.6.25-rc1~1138^2~152 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d825ed0a97b8e82597dd652bfe51fed3fa9b3c9a;p=karo-tx-linux.git 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 Acked-by: Carsten Otte Signed-off-by: Avi Kivity --- 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 @@ #include "kvm.h" #include "x86.h" -#include "x86_emulate.h" #include "irq.h" #include @@ -44,7 +43,6 @@ #include #include -#include #include #include #include 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 #include +#include #define MAX_IO_MSRS 256 #define CR0_RESERVED_BITS \