summaryrefslogtreecommitdiff
path: root/arch/x86/platform/efi
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-09-20 14:58:59 (GMT)
committerIngo Molnar <mingo@kernel.org>2016-09-20 14:58:59 (GMT)
commit41a66072c32978ff3914fd6be88f7592ef64bef7 (patch)
tree0f38ef433f0feea3e58f61f8d5397cd9bf065559 /arch/x86/platform/efi
parent5465fe0fc3316f7cdda66732a7986f4ebe76d949 (diff)
parent7597cdc066313bfd211cca2f9252dfeb41271391 (diff)
downloadlinux-41a66072c32978ff3914fd6be88f7592ef64bef7.tar.xz
Merge branch 'efi/urgent' into efi/core, to pick up fixes
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 d65cdad..58b0f80 100644
--- a/arch/x86/platform/efi/efi_64.c
+++ b/arch/x86/platform/efi/efi_64.c
@@ -244,7 +244,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;
page = alloc_page(GFP_KERNEL|__GFP_DMA32);