diff options
| author | Atish Patra <atish.patra@wdc.com> | 2020-12-18 16:13:56 -0800 |
|---|---|---|
| committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-12-21 21:02:14 -0800 |
| commit | de043da0b9e71147ca610ed542d34858aadfc61c (patch) | |
| tree | df0bafd5de234744423ec2bacbfca4f459216c49 /tools/perf/scripts/python/bin | |
| parent | Merge tag 'riscv-for-linus-5.11-mw0' of git://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | linux-de043da0b9e71147ca610ed542d34858aadfc61c.tar.gz linux-de043da0b9e71147ca610ed542d34858aadfc61c.zip | |
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: stable@vger.kernel.org
Reported-by: Bin Meng <bin.meng@windriver.com>
Tested-by: Bin Meng <bin.meng@windriver.com>
Acked-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
