x86, espfix: Make espfix64 a Kconfig option, fix UML
[pandora-kernel.git] / init / main.c
index e4b75de..e937d9b 100644 (file)
@@ -610,7 +610,7 @@ asmlinkage void __init start_kernel(void)
        if (efi_enabled(EFI_RUNTIME_SERVICES))
                efi_enter_virtual_mode();
 #endif
-#ifdef CONFIG_X86_64
+#ifdef CONFIG_X86_ESPFIX64
        /* Should be run before the first non-init thread is created */
        init_espfix_bsp();
 #endif