summaryrefslogtreecommitdiffstats
path: root/lib/iomap.c
diff options
context:
space:
mode:
authorWende Tan <twd2.me@gmail.com>2021-05-22 17:49:51 +0000
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-06-01 21:16:42 -0700
commitda2d48808fbd1eddefefe245c6c0e92a9195df8b (patch)
tree72ff2a7ba29ea7bd88a14a5b54c417e5bc317614 /lib/iomap.c
parentb75db25c416b9f0edae7cd86c4901c216a52e7a0 (diff)
downloadlinux-da2d48808fbd1eddefefe245c6c0e92a9195df8b.tar.gz
linux-da2d48808fbd1eddefefe245c6c0e92a9195df8b.tar.bz2
linux-da2d48808fbd1eddefefe245c6c0e92a9195df8b.zip
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: ffe0e526126884cf036a6f724220f1f9b4094fd2 ("RISC-V: Improve init_resources()") Fixes: 797f0375dd2ef5cdc68ac23450cbae9a5c67a74e ("RISC-V: Do not allocate memblock while iterating reserved memblocks") Signed-off-by: Wende Tan <twd2.me@gmail.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions