diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c index 269fc648ef3d84b24c99587aacf335dc36e58e23..ac48742fa6fc646fbe1e80e1562b62a7659ba174 100644 --- a/arch/riscv/mm/init.c +++ b/arch/riscv/mm/init.c @@ -175,6 +175,7 @@ static void __init setup_bootmem(void) memblock_reserve(vmlinux_start, vmlinux_end - vmlinux_start); dram_end = memblock_end_of_DRAM(); + /* * memblock allocator is not aware of the fact that last 4K bytes of * the addressable memory can not be mapped because of IS_ERR_VALUE