diff options
author | Anup Patel <anup.patel@wdc.com> | 2019-02-21 08:55:49 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2019-02-21 08:55:49 +0300 |
commit | 0651c263c8e39f409a72ba01bfd73ddf3d3e6748 (patch) | |
tree | 6fd8e3a02a4dfa7ef04f97cdd0a79966befc8153 /arch/riscv/mm/ioremap.c | |
parent | 680f9b8e6c56414b6ade41e01950cc1318856b6b (diff) | |
download | linux-0651c263c8e39f409a72ba01bfd73ddf3d3e6748.tar.xz |
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>
Diffstat (limited to 'arch/riscv/mm/ioremap.c')
0 files changed, 0 insertions, 0 deletions