mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-12 06:01:58 +00:00
riscv: Fix 32-bit RISC-V boot failure
Commitdd2d082b57("riscv: Cleanup setup_bootmem()") adjusted the calling sequence in setup_bootmem(), which invalidates the fix commitde043da0b9("RISC-V: Fix usage of memblock_enforce_memory_limit") did for 32-bit RISC-V unfortunately. So now 32-bit RISC-V does not boot again when testing booting kernel on QEMU 'virt' with '-m 2G', which was exactly what the original commitde043da0b9("RISC-V: Fix usage of memblock_enforce_memory_limit") tried to fix. Fixes:dd2d082b57("riscv: Cleanup setup_bootmem()") Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
parent
6efb943b86
commit
d0e4dae744
1 changed files with 3 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue