Merge tag 'riscv-for-linus-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux

Pull RISC-V fix from Palmer Dabbelt
"Avoid trying to initialize memory regions outside the usable range"

* tag 'riscv-for-linus-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
RISC-V: Fix usage of memblock_enforce_memory_limit

+1 -1
+1 -1
arch/riscv/mm/init.c
··· 176 176 * Make sure that any memory beyond mem_start + (-PAGE_OFFSET) is removed 177 177 * as it is unusable by kernel. 178 178 */ 179 - memblock_enforce_memory_limit(mem_start - PAGE_OFFSET); 179 + memblock_enforce_memory_limit(-PAGE_OFFSET); 180 180 181 181 /* Reserve from the start of the kernel to the end of the kernel */ 182 182 memblock_reserve(vmlinux_start, vmlinux_end - vmlinux_start);