diff options
author | Avi Kivity | 2010-01-21 14:31:49 +0100 |
---|---|---|
committer | Marcelo Tosatti | 2010-03-01 16:36:04 +0100 |
commit | 836a1b3c3456042704c86aaa3d837b976de9343b (patch) | |
tree | cf40744cf19a2e0bc407913ac86d53081116b022 /arch/x86/kvm/mmu.c | |
parent | KVM: Add a helper for checking if the guest is in protected mode (diff) | |
download | kernel-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.c | 1 |
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> |