MIPS: Move memblock_dump_all() to the end of setup_arch()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 3 Dec 2020 03:19:03 +0000 (11:19 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 4 Dec 2020 12:01:57 +0000 (13:01 +0100)
commit4f1682b8a97dc24e57e8bcb62b23c216d8425266
treeb6e8153210631d50fad42c55047d96e394f030b9
parentd8d3276bfc49e114103c54d5f93268c70dcf3600
MIPS: Move memblock_dump_all() to the end of setup_arch()

In order to get more memblock configuration with memblock=debug in the boot
cmdline, move memblock_dump_all() to the end of setup_arch(), this can help
us to get dmi_setup() and resource_init() memblock info, at least for now.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/kernel/setup.c