From: Eduardo Habkost Date: Mon, 17 Nov 2008 21:03:13 +0000 (-0200) Subject: KVM: VMX: move vmx.h to include/asm X-Git-Tag: v3.0~11490^2~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13673a90f1cf88296f726265cc7cf3ec76ecba30;p=platform%2Fkernel%2Flinux-amlogic.git KVM: VMX: move vmx.h to include/asm vmx.h will be used by core code that is independent of KVM, so I am moving it outside the arch/x86/kvm directory. Signed-off-by: Eduardo Habkost Signed-off-by: Avi Kivity --- diff --git a/arch/x86/kvm/vmx.h b/arch/x86/include/asm/vmx.h similarity index 100% rename from arch/x86/kvm/vmx.h rename to arch/x86/include/asm/vmx.h diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 8904e8a..fa3486d 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -17,7 +17,6 @@ * */ -#include "vmx.h" #include "mmu.h" #include @@ -33,6 +32,7 @@ #include #include #include +#include /* * When setting this variable to true it enables Two-Dimensional-Paging diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 427dbc1..ec71f64 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -16,7 +16,6 @@ */ #include "irq.h" -#include "vmx.h" #include "mmu.h" #include @@ -31,6 +30,7 @@ #include #include +#include #define __ex(x) __kvm_handle_fault_on_reboot(x)