diff options
Diffstat (limited to 'arch/x86/kernel/efi.c')
-rw-r--r-- | arch/x86/kernel/efi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c index 174b067b9d03..1411324a625c 100644 --- a/arch/x86/kernel/efi.c +++ b/arch/x86/kernel/efi.c | |||
@@ -474,6 +474,8 @@ void __init efi_enter_virtual_mode(void) | |||
474 | efi.reset_system = virt_efi_reset_system; | 474 | efi.reset_system = virt_efi_reset_system; |
475 | efi.set_virtual_address_map = virt_efi_set_virtual_address_map; | 475 | efi.set_virtual_address_map = virt_efi_set_virtual_address_map; |
476 | runtime_code_page_mkexec(); | 476 | runtime_code_page_mkexec(); |
477 | early_iounmap(memmap.map, memmap.nr_map * memmap.desc_size); | ||
478 | memmap.map = NULL; | ||
477 | } | 479 | } |
478 | 480 | ||
479 | /* | 481 | /* |