projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4009b24
)
KVM: Remove SMAP bit from CR4_RESERVED_BITS
author
Feng Wu
<feng.wu@intel.com>
Tue, 1 Apr 2014 09:46:33 +0000
(17:46 +0800)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 14 Apr 2014 20:50:33 +0000
(17:50 -0300)
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>
arch/x86/include/asm/kvm_host.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/include/asm/kvm_host.h
b/arch/x86/include/asm/kvm_host.h
index fcaf9c961265c8ac6c78c9a8734f7cf3a0c6ae1b..7de069afb382e4d3f43febb087ac21979b28d087 100644
(file)
--- 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)