x86, mm: Clean up and simplify NX enablement
[linux-2.6.git] / arch / x86 / kernel / cpu / common.c
index cc25c2b..18346da 100644 (file)
@@ -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();