Skip to content

Commit 6ff90aa

Browse files
committed
Merge tag 'efi-urgent-2020-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull EFI fix from Thomas Gleixner: "A single fix for a EFI boot regression on X86 which was caused by the recent rework of the EFI memory map parsing. On systems with invalid memmap entries the cleanup function uses an value which cannot be relied on in this stage. Use the actual EFI memmap entry instead" * tag 'efi-urgent-2020-02-09' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: efi/x86: Fix boot regression on systems with invalid memmap entries
2 parents fdfa3a6 + 59365ca commit 6ff90aa

File tree

1 file changed

+1
-1
lines changed
  • arch/x86/platform/efi

1 file changed

+1
-1
lines changed

arch/x86/platform/efi/efi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ static void __init efi_clean_memmap(void)
308308
.phys_map = efi.memmap.phys_map,
309309
.desc_version = efi.memmap.desc_version,
310310
.desc_size = efi.memmap.desc_size,
311-
.size = data.desc_size * (efi.memmap.nr_map - n_removal),
311+
.size = efi.memmap.desc_size * (efi.memmap.nr_map - n_removal),
312312
.flags = 0,
313313
};
314314

0 commit comments

Comments
 (0)