summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/bootinfo.h
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2020-04-21 19:59:45 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-04-21 16:07:14 +0200
commit2a3d47c94ebdfb97bd8aa95343c58b679cb11724 (patch)
treea09679ab5366029c72b1391d8fd242934a548b88 /arch/mips/include/asm/bootinfo.h
parent2c66e281c0330289aad93e6dd722b25fee29306c (diff)
downloadlinux-2a3d47c94ebdfb97bd8aa95343c58b679cb11724.tar.bz2
MIPS: Cleanup code about plat_mem_setup()
In the current code, plat_mem_setup() is called by arch_mem_init() instead of setup_arch() and has been declared in asm/bootinfo.h, so modify the code comment to reflect the reality and remove the useless duplicate declartion in arch/mips/kernel/setup.c. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/include/asm/bootinfo.h')
-rw-r--r--arch/mips/include/asm/bootinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/include/asm/bootinfo.h b/arch/mips/include/asm/bootinfo.h
index 61727785a247..dcd6a75277d1 100644
--- a/arch/mips/include/asm/bootinfo.h
+++ b/arch/mips/include/asm/bootinfo.h
@@ -121,7 +121,7 @@ extern unsigned long fw_passed_dtb;
#endif
/*
- * Platform memory detection hook called by setup_arch
+ * Platform memory detection hook called by arch_mem_init()
*/
extern void plat_mem_setup(void);