summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/mmu.c
diff options
context:
space:
mode:
authorAvi Kivity2010-01-21 14:31:49 +0100
committerMarcelo Tosatti2010-03-01 16:36:04 +0100
commit836a1b3c3456042704c86aaa3d837b976de9343b (patch)
treecf40744cf19a2e0bc407913ac86d53081116b022 /arch/x86/kvm/mmu.c
parentKVM: Add a helper for checking if the guest is in protected mode (diff)
downloadkernel-qcow2-linux-836a1b3c3456042704c86aaa3d837b976de9343b.tar.gz
kernel-qcow2-linux-836a1b3c3456042704c86aaa3d837b976de9343b.tar.xz
kernel-qcow2-linux-836a1b3c3456042704c86aaa3d837b976de9343b.zip
KVM: Move cr0/cr4/efer related helpers to x86.h
They have more general scope than the mmu. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.c')
-rw-r--r--arch/x86/kvm/mmu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c
index ff2b2e8d72eb..6f7158f4fbfd 100644
--- a/arch/x86/kvm/mmu.c
+++ b/arch/x86/kvm/mmu.c
@@ -18,6 +18,7 @@
*/
#include "mmu.h"
+#include "x86.h"
#include "kvm_cache_regs.h"
#include <linux/kvm_host.h>