x86/efi: Wire up CONFIG_EFI_MIXED
[cascardo/linux.git] / arch / x86 / kernel / setup.c
index 06853e6..ff9b3a6 100644 (file)
@@ -1243,7 +1243,7 @@ void __init setup_arch(char **cmdline_p)
         * mismatched firmware/kernel archtectures since there is no
         * support for runtime services.
         */
-       if (efi_enabled(EFI_BOOT) && !efi_is_native()) {
+       if (efi_enabled(EFI_BOOT) && !efi_runtime_supported()) {
                pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n");
                efi_unmap_memmap();
        }