]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - arch/x86/kernel/smpboot.c
Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[thirdparty/kernel/stable.git] / arch / x86 / kernel / smpboot.c
index 35cb20994e32d2bf05f0b1510ccc26cc7e7590a5..c5970efa85570ab324bd1cad2e57d464dba86f46 100644 (file)
@@ -932,12 +932,8 @@ static int do_boot_cpu(int apicid, int cpu, struct task_struct *idle,
        initial_code = (unsigned long)start_secondary;
        initial_stack  = idle->thread.sp;
 
-       /*
-        * Enable the espfix hack for this CPU
-       */
-#ifdef CONFIG_X86_ESPFIX64
+       /* Enable the espfix hack for this CPU */
        init_espfix_ap(cpu);
-#endif
 
        /* So we see what's up */
        announce_cpu(cpu, apicid);