summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorFeng Wu2014-04-01 11:46:33 +0200
committerMarcelo Tosatti2014-04-14 22:50:33 +0200
commit56d6efc2de5fcf76d3c7b33a7671bc04c53cb0e5 (patch)
tree8f9291a96fbf2a6035896e628ea29c50924c2373 /arch
parentKVM: ioapic: try to recover if pending_eoi goes out of range (diff)
downloadkernel-qcow2-linux-56d6efc2de5fcf76d3c7b33a7671bc04c53cb0e5.tar.gz
kernel-qcow2-linux-56d6efc2de5fcf76d3c7b33a7671bc04c53cb0e5.tar.xz
kernel-qcow2-linux-56d6efc2de5fcf76d3c7b33a7671bc04c53cb0e5.zip
KVM: Remove SMAP bit from CR4_RESERVED_BITS
This patch removes SMAP bit from CR4_RESERVED_BITS. Signed-off-by: Feng Wu <feng.wu@intel.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index fcaf9c961265..7de069afb382 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -60,7 +60,7 @@
| X86_CR4_PSE | X86_CR4_PAE | X86_CR4_MCE \
| X86_CR4_PGE | X86_CR4_PCE | X86_CR4_OSFXSR | X86_CR4_PCIDE \
| X86_CR4_OSXSAVE | X86_CR4_SMEP | X86_CR4_FSGSBASE \
- | X86_CR4_OSXMMEXCPT | X86_CR4_VMXE))
+ | X86_CR4_OSXMMEXCPT | X86_CR4_VMXE | X86_CR4_SMAP))
#define CR8_RESERVED_BITS (~(unsigned long)X86_CR8_TPR)