commit | 0651c263c8e39f409a72ba01bfd73ddf3d3e6748 | [log] [tgz] |
---|---|---|
author | Anup Patel <anup.patel@wdc.com> | Thu Feb 21 11:25:49 2019 +0530 |
committer | Anup Patel <anup@brainfault.org> | Thu Feb 21 11:25:49 2019 +0530 |
tree | 6fd8e3a02a4dfa7ef04f97cdd0a79966befc8153 | |
parent | 680f9b8e6c56414b6ade41e01950cc1318856b6b [diff] |
RISC-V: Move setup_bootmem() to mm/init.c The setup_bootmem() mainly populates memblocks and does early memory reservations. The right location for this function is mm/init.c. It calls setup_initrd() so we move that as well. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Palmer Dabbelt <palmer@sifive.com> Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>