Skip to content

Commit 444818b

Browse files
Merge remote-tracking branch 'riscv/riscv-fix-32bit' into fixes
This contains a single fix for 32-bit boot. It happens this was already fixed by c9811e3 ("riscv: Add mem kernel parameter support"), but the bug existed before that feature addition so I've applied the patch earlier and then merged it in (which results in a conflict, which is fixed via not changing the resulting tree). * riscv/riscv-fix-32bit: riscv: Fix 32-bit RISC-V boot failure
2 parents e73f0f0 + d0e4dae commit 444818b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/riscv/mm/init.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ static void __init setup_bootmem(void)
175175
memblock_reserve(vmlinux_start, vmlinux_end - vmlinux_start);
176176

177177
dram_end = memblock_end_of_DRAM();
178+
178179
/*
179180
* memblock allocator is not aware of the fact that last 4K bytes of
180181
* the addressable memory can not be mapped because of IS_ERR_VALUE

0 commit comments

Comments
 (0)