[PATCH] sep initializing rework
[linux-2.6.git] / arch / i386 / kernel / cpu / common.c
index b995424..d58e169 100644 (file)
@@ -432,6 +432,9 @@ void __init identify_cpu(struct cpuinfo_x86 *c)
 #ifdef CONFIG_X86_MCE
        mcheck_init(c);
 #endif
+       if (c == &boot_cpu_data)
+               sysenter_setup();
+       enable_sep_cpu();
 }
 
 #ifdef CONFIG_X86_HT