diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-09-16 00:20:06 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-09-27 14:22:49 +0300 |
commit | 171539f5a90e3fdf7d17f5396fac79d7e44ad68e (patch) | |
tree | 388301a71f5475a8c2bc922aaeabf46280efbeb6 /drivers/firmware/efi/libstub/randomalloc.c | |
parent | 4fc8e738ff3e6a208855bb69783280870c7cf251 (diff) | |
download | linux-171539f5a90e3fdf7d17f5396fac79d7e44ad68e.tar.xz |
efi: libstub: install boot-time memory map as config table
Expose the EFI boot time memory map to the kernel via a configuration
table. This is arch agnostic and enables future changes that remove the
dependency on DT on architectures that don't otherwise rely on it.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/randomalloc.c')
-rw-r--r-- | drivers/firmware/efi/libstub/randomalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/randomalloc.c b/drivers/firmware/efi/libstub/randomalloc.c index 5d6000c717cc..9fb5869896be 100644 --- a/drivers/firmware/efi/libstub/randomalloc.c +++ b/drivers/firmware/efi/libstub/randomalloc.c @@ -61,7 +61,7 @@ efi_status_t efi_random_alloc(unsigned long size, efi_status_t status; int map_offset; - status = efi_get_memory_map(&map); + status = efi_get_memory_map(&map, false); if (status != EFI_SUCCESS) return status; |