diff options
| author | Ilias Apalodimas <[email protected]> | 2024-10-24 13:46:25 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-10-30 13:02:45 -0600 |
| commit | e26d2cab4285d2953879054a4ff6955fb756a6d4 (patch) | |
| tree | 1acc77a2d12ca129a0efdb3c7054896a3ae740d5 /lib | |
| parent | 84610b66e1ee80cac1cdadc83c9c922d61b30d8f (diff) | |
lmb: Correctly unmap memory after notifications
We never unmap the memory used to update the EFI memory map after
notifications
Fixes: commit 2f6191526a13 ("lmb: notify of any changes to the LMB memory map")
Signed-off-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/lmb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lmb.c b/lib/lmb.c index 9423301cdbc..96a055f951e 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -65,6 +65,7 @@ static int __maybe_unused lmb_map_update_notify(phys_addr_t addr, status & ~EFI_ERROR_MASK); return -1; } + unmap_sysmem((void *)(uintptr_t)efi_addr); return 0; } |
