diff options
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); |