projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86, mm: Clean up and simplify NX enablement
[firefly-linux-kernel-4.4.55.git]
/
arch
/
x86
/
kernel
/
cpu
/
common.c
diff --git
a/arch/x86/kernel/cpu/common.c
b/arch/x86/kernel/cpu/common.c
index cc25c2b4a567c2ca3e020127cefe87b2778f02ee..18346da8c5945176d67697eb527a574774ced2cd 100644
(file)
--- a/
arch/x86/kernel/cpu/common.c
+++ b/
arch/x86/kernel/cpu/common.c
@@
-1136,7
+1136,7
@@
void __cpuinit cpu_init(void)
wrmsrl(MSR_KERNEL_GS_BASE, 0);
barrier();
-
check_efer
();
+
x86_configure_nx
();
if (cpu != 0)
enable_x2apic();