x86, espfix: Make espfix64 a Kconfig option, fix UML
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / arch / x86 / kernel / smpboot.c
index 9f009cc7fcb27c01ffb91cb55e138b96b0448366..fe862750583b582083e21380bedb4a5e085fb28c 100644 (file)
@@ -267,7 +267,7 @@ notrace static void __cpuinit start_secondary(void *unused)
        /*
         * Enable the espfix hack for this CPU
         */
-#ifdef CONFIG_X86_64
+#ifdef CONFIG_X86_ESPFIX64
        init_espfix_ap();
 #endif