diff options
Diffstat (limited to 'arch/x86/kernel')
-rw-r--r-- | arch/x86/kernel/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index 9c857f05cef0..e89acdf6b77b 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1196,8 +1196,7 @@ void __init setup_arch(char **cmdline_p) | |||
1196 | * mismatched firmware/kernel archtectures since there is no | 1196 | * mismatched firmware/kernel archtectures since there is no |
1197 | * support for runtime services. | 1197 | * support for runtime services. |
1198 | */ | 1198 | */ |
1199 | if (efi_enabled(EFI_BOOT) && | 1199 | if (efi_enabled(EFI_BOOT) && !efi_is_native()) { |
1200 | IS_ENABLED(CONFIG_X86_64) != efi_enabled(EFI_64BIT)) { | ||
1201 | pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n"); | 1200 | pr_info("efi: Setup done, disabling due to 32/64-bit mismatch\n"); |
1202 | efi_unmap_memmap(); | 1201 | efi_unmap_memmap(); |
1203 | } | 1202 | } |