[PATCH] riscv: Cleanup setup_bootmem()

Kefeng Wang wangkefeng.wang at huawei.com
Mon Feb 8 19:55:46 EST 2021


On 2021/2/9 6:03, Atish Patra wrote:
> On Sun, Feb 7, 2021 at 4:35 AM Kefeng Wang <wangkefeng.wang at huawei.com> wrote:
>> After the following patches,
>>
>>    commit de043da0b9e7 ("RISC-V: Fix usage of memblock_enforce_memory_limit")
>>    commit 1bd14a66ee52 ("RISC-V: Remove any memblock representing unusable memory area")
>>    commit b10d6bca8720 ("arch, drivers: replace for_each_membock() with for_each_mem_range()")
>>
>> some logical is useless, kill the mem_start/start/end and unneed code.
>>
> /s/logical/logic
> /s/unneed/uneeded
oops, will update and send new one, thanks.



More information about the linux-riscv mailing list