diff options
Diffstat (limited to 'arch/x86/kernel/efi_64.c')
-rw-r--r-- | arch/x86/kernel/efi_64.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/kernel/efi_64.c b/arch/x86/kernel/efi_64.c index 9f8a75594398..4b73992c1e11 100644 --- a/arch/x86/kernel/efi_64.c +++ b/arch/x86/kernel/efi_64.c | |||
@@ -103,15 +103,6 @@ void __init efi_call_phys_epilog(void) | |||
103 | local_irq_restore(efi_flags); | 103 | local_irq_restore(efi_flags); |
104 | } | 104 | } |
105 | 105 | ||
106 | /* | ||
107 | * We need to map the EFI memory map again after init_memory_mapping(). | ||
108 | */ | ||
109 | void __init efi_map_memmap(void) | ||
110 | { | ||
111 | memmap.map = __va(memmap.phys_map); | ||
112 | memmap.map_end = memmap.map + (memmap.nr_map * memmap.desc_size); | ||
113 | } | ||
114 | |||
115 | void __init efi_reserve_bootmem(void) | 106 | void __init efi_reserve_bootmem(void) |
116 | { | 107 | { |
117 | reserve_bootmem_generic((unsigned long)memmap.phys_map, | 108 | reserve_bootmem_generic((unsigned long)memmap.phys_map, |