summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorYang, Wei <wei.y.yang@intel.com>2011-06-14 20:10:17 +0800
committerAvi Kivity <avi@redhat.com>2011-07-12 13:16:22 +0300
commitd9c3476d8a99455cd3af1bd773acd77aa947a934 (patch)
tree10665cefbb20c26fd0e7793b3789284cc181e49a /arch/x86/include/asm/kvm_host.h
parent4a00efdf0c7c93dc6f6b3ce7e2d6bd4cd1ac1651 (diff)
downloadlwn-d9c3476d8a99455cd3af1bd773acd77aa947a934.tar.gz
lwn-d9c3476d8a99455cd3af1bd773acd77aa947a934.zip
KVM: Remove RDWRGSFS bit from CR4_RESERVED_BITS
This patch removes RDWRGSFS bit from CR4_RESERVED_BITS. Signed-off-by: Yang, Wei <wei.y.yang@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-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 fc38eca116c0..554be456f11e 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -48,7 +48,7 @@
(~(unsigned long)(X86_CR4_VME | X86_CR4_PVI | X86_CR4_TSD | X86_CR4_DE\
| X86_CR4_PSE | X86_CR4_PAE | X86_CR4_MCE \
| X86_CR4_PGE | X86_CR4_PCE | X86_CR4_OSFXSR \
- | X86_CR4_OSXSAVE | X86_CR4_SMEP \
+ | X86_CR4_OSXSAVE | X86_CR4_SMEP | X86_CR4_RDWRGSFS \
| X86_CR4_OSXMMEXCPT | X86_CR4_VMXE))
#define CR8_RESERVED_BITS (~(unsigned long)X86_CR8_TPR)