diff options
Diffstat (limited to 'arch/x86/platform/efi')
-rw-r--r-- | arch/x86/platform/efi/efi.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 1a201ac7cef8..b96ae7918a16 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c | |||
@@ -466,9 +466,6 @@ void __init efi_free_boot_services(void) | |||
466 | { | 466 | { |
467 | void *p; | 467 | void *p; |
468 | 468 | ||
469 | if (!efi_is_native()) | ||
470 | return; | ||
471 | |||
472 | for (p = memmap.map; p < memmap.map_end; p += memmap.desc_size) { | 469 | for (p = memmap.map; p < memmap.map_end; p += memmap.desc_size) { |
473 | efi_memory_desc_t *md = p; | 470 | efi_memory_desc_t *md = p; |
474 | unsigned long long start = md->phys_addr; | 471 | unsigned long long start = md->phys_addr; |
@@ -1005,15 +1002,6 @@ void __init efi_enter_virtual_mode(void) | |||
1005 | 1002 | ||
1006 | efi.systab = NULL; | 1003 | efi.systab = NULL; |
1007 | 1004 | ||
1008 | /* | ||
1009 | * We don't do virtual mode, since we don't do runtime services, on | ||
1010 | * non-native EFI | ||
1011 | */ | ||
1012 | if (!efi_is_native()) { | ||
1013 | efi_unmap_memmap(); | ||
1014 | return; | ||
1015 | } | ||
1016 | |||
1017 | if (efi_setup) { | 1005 | if (efi_setup) { |
1018 | efi_map_regions_fixed(); | 1006 | efi_map_regions_fixed(); |
1019 | } else { | 1007 | } else { |