Comments

In preparation of updating efi_mem_reserve_persistent() to cause less
fragmentation when dealing with many persistent reservations, update
the struct definition and the code that handles it currently so it
can describe an arbitrary number of reservations using a single linked
list entry. The actual optimization will be implemented in a subsequent
patch.
Tested-by: Marc Zyngier <marc.zyngier@arm.com>Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
---
drivers/firmware/efi/efi.c | 32 +++++++++++++-------
drivers/firmware/efi/libstub/arm-stub.c | 2 +-
include/linux/efi.h | 13 ++++++--
3 files changed, 32 insertions(+), 15 deletions(-)