diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-02 14:06:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-02 14:06:13 -0400 |
commit | af0424522dbb235ee7f1eb84bce074004c9d8b51 (patch) | |
tree | c1894636cdd4e954c0a89d2741998b1f5227c728 /arch/x86/platform/efi/efi.c | |
parent | 4fb5741c7c5defd88046f570694fc3249479f36f (diff) | |
parent | 88447c5b93d98be847f428c39ba589779a59eb83 (diff) |
Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull EFI fixes from Ingo Molnar:
"Two EFI fixes: a quirk for weird systabs, plus add more robust error
handling in the old 1:1 mapping code"
* 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
efi: Allow the number of EFI configuration tables entries to be zero
efi/x86/Add missing error handling to old_memmap 1:1 mapping code
Diffstat (limited to 'arch/x86/platform/efi/efi.c')
-rw-r--r-- | arch/x86/platform/efi/efi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index e1cb01a22fa8..a7189a3b4d70 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c | |||
@@ -85,6 +85,8 @@ static efi_status_t __init phys_efi_set_virtual_address_map( | |||
85 | pgd_t *save_pgd; | 85 | pgd_t *save_pgd; |
86 | 86 | ||
87 | save_pgd = efi_call_phys_prolog(); | 87 | save_pgd = efi_call_phys_prolog(); |
88 | if (!save_pgd) | ||
89 | return EFI_ABORTED; | ||
88 | 90 | ||
89 | /* Disable interrupts around EFI calls: */ | 91 | /* Disable interrupts around EFI calls: */ |
90 | local_irq_save(flags); | 92 | local_irq_save(flags); |