]> Git Repo - linux.git/commit
RISC-V: Fix usage of memblock_enforce_memory_limit
authorAtish Patra <[email protected]>
Sat, 19 Dec 2020 00:13:56 +0000 (16:13 -0800)
committerPalmer Dabbelt <[email protected]>
Tue, 22 Dec 2020 05:02:14 +0000 (21:02 -0800)
commitde043da0b9e71147ca610ed542d34858aadfc61c
treedf0bafd5de234744423ec2bacbfca4f459216c49
parente2ae634014d3a8839a99f8897b3f6346a133a33b
RISC-V: Fix usage of memblock_enforce_memory_limit

memblock_enforce_memory_limit accepts the maximum memory size not the
maximum address that can be handled by kernel. Fix the function invocation
accordingly.

Fixes: 1bd14a66ee52 ("RISC-V: Remove any memblock representing unusable memory area")
Cc: [email protected]
Reported-by: Bin Meng <[email protected]>
Tested-by: Bin Meng <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
arch/riscv/mm/init.c
This page took 0.051575 seconds and 4 git commands to generate.