summaryrefslogtreecommitdiff
path: root/arch/x86/platform/efi
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-09-20 14:56:56 (GMT)
committerIngo Molnar <mingo@kernel.org>2016-09-20 14:56:56 (GMT)
commit7597cdc066313bfd211cca2f9252dfeb41271391 (patch)
treeffd1212804b82844b17e7708c75c4972a6415977 /arch/x86/platform/efi
parentd2ffb0103aaefa9b169da042cf39ce27bfb6cdbb (diff)
parent1297667083d5442aafe3e337b9413bf02b114edb (diff)
downloadlinux-7597cdc066313bfd211cca2f9252dfeb41271391.tar.xz
Merge tag 'efi-urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi into efi/urgent
Pull EFI fixes from Matt Fleming: * Fix a boot hang on large memory machines (multiple terabyte) caused by type conversion errors in the x86 PAT code (Matt Fleming) Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/platform/efi')
-rw-r--r--arch/x86/platform/efi/efi_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/platform/efi/efi_64.c b/arch/x86/platform/efi/efi_64.c
index 677e29e..8dd3784 100644
--- a/arch/x86/platform/efi/efi_64.c
+++ b/arch/x86/platform/efi/efi_64.c
@@ -245,7 +245,7 @@ int __init efi_setup_page_tables(unsigned long pa_memmap, unsigned num_pages)
* text and allocate a new stack because we can't rely on the
* stack pointer being < 4GB.
*/
- if (!IS_ENABLED(CONFIG_EFI_MIXED))
+ if (!IS_ENABLED(CONFIG_EFI_MIXED) || efi_is_native())
return 0;
/*