From 8d1404b90cb223536b9310a378a0add42b5adf0a Mon Sep 17 00:00:00 2001 From: Tony Luck Date: Thu, 28 Aug 2003 03:07:40 -0700 Subject: [PATCH] [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. --- arch/ia64/kernel/efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index 0338b214d2f02..8941b976474d4 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c @@ -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; -- 2.53.0