KVM: VMX: move vmx.h to include/asm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Friday, January 2, 2009 - 2:01 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=13673a...
Commit:     13673a90f1cf88296f726265cc7cf3ec76ecba30
Parent:     fe4e771d5c37f0949047faf95d16a512b21406bf
Author:     Eduardo Habkost <ehabkost@redhat.com>
AuthorDate: Mon Nov 17 19:03:13 2008 -0200
Committer:  Avi Kivity <avi@redhat.com>
CommitDate: Wed Dec 31 16:52:27 2008 +0200

    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 <ehabkost@redhat.com>
    Signed-off-by: Avi Kivity <avi@redhat.com>
---
 arch/x86/{kvm => include/asm}/vmx.h |    0
 arch/x86/kvm/mmu.c                  |    2 +-
 arch/x86/kvm/vmx.c                  |    2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)

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 <linux/kvm_host.h>
@@ -33,6 +32,7 @@
 #include <asm/page.h>
 #include <asm/cmpxchg.h>
 #include <asm/io.h>
+#include <asm/vmx.h>
 
 /*
  * 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 <linux/kvm_host.h>
@@ -31,6 +30,7 @@
 
 #include <asm/io.h>
 #include <asm/desc.h>
+#include <asm/vmx.h>
 
 #define __ex(x) __kvm_handle_fault_on_reboot(x)
 
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
KVM: VMX: move vmx.h to include/asm, Linux Kernel Mailing ..., (Fri Jan 2, 2:01 pm)