In preparation for adding another EFI_MEMMAP dependent call that needs to occur before e820__memblock_setup() fixup the existing efi calls to check for EFI_MEMMAP internally. This ends up being cleaner than the alternative of checking EFI_MEMMAP multiple times in setup_arch().
Showing the changes to include/linux (1 of 7 files). Show all
Unified · Split
| @@ -1045,7 +1045,6 @@ extern void efi_enter_virtual_mode (void); /* switch EFI to virtual mode, if pos · 1044 unmodified lines | ||
| 1045 | 1045 | extern efi_status_t efi_query_variable_store(u32 attributes, |
| 1046 | 1046 | unsigned long size, |
| 1047 | 1047 | bool nonblocking); |
| 1048 | −extern void efi_find_mirror(void); | |
| 1049 | 1048 | #else |
| 1050 | 1049 | |
| 1051 | 1050 | static inline efi_status_t efi_query_variable_store(u32 attributes, |