Commit 8d1404b9 authored by Tony Luck's avatar Tony Luck Committed by David Mosberger

[PATCH] ia64: trim.bottom trims the wrong entry

efi_memmap_walk() repeatedly trims the same
entry, instead of trimming each of the entries in the granule.
parent 8370d6a0
......@@ -324,7 +324,7 @@ efi_memmap_walk (efi_freemem_callback_t callback, void *arg)
check_md = q;
if (check_md->attribute & EFI_MEMORY_WB)
trim_bottom(md, granule_addr);
trim_bottom(check_md, granule_addr);
if (check_md->phys_addr < granule_addr)
continue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment