]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/x86/mm/init.c
x86, mm: Report state of NX protections during boot
[net-next-2.6.git] / arch / x86 / mm / init.c
index 73ffd5536f62d1fcbdd7b0c3804415436ebe4dc1..d406c5239019ee0e2e9609c826f1a2ba8564c693 100644 (file)
@@ -146,10 +146,6 @@ unsigned long __init_refok init_memory_mapping(unsigned long start,
        use_gbpages = direct_gbpages;
 #endif
 
-       set_nx();
-       if (nx_enabled)
-               printk(KERN_INFO "NX (Execute Disable) protection: active\n");
-
        /* Enable PSE if available */
        if (cpu_has_pse)
                set_in_cr4(X86_CR4_PSE);