Skip to content
Unverified Commit da2d4880 authored by Wende Tan's avatar Wende Tan Committed by Palmer Dabbelt
Browse files

RISC-V: Fix memblock_free() usages in init_resources()

`memblock_free()` takes a physical address as its first argument.
Fix the wrong usages in `init_resources()`.

Fixes: ffe0e526 ("RISC-V: Improve init_resources()")
Fixes: 797f0375

 ("RISC-V: Do not allocate memblock while iterating reserved memblocks")
Signed-off-by: default avatarWende Tan <twd2.me@gmail.com>
Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent b75db25c
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