提交 4d7d8147 编写于 作者: R Ralf Baechle

[MIPS] Fix modpost warning.

WARNING: vmlinux.o(.text+0x1718): Section mismatch: reference to .init.text:mipsmt_build_cpu_map (between 'plat_smp_setup' and 'prom_init_secondary')
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 9d5a3f5f
...@@ -58,7 +58,7 @@ void prom_init_secondary(void) ...@@ -58,7 +58,7 @@ void prom_init_secondary(void)
* but it may be multithreaded. * but it may be multithreaded.
*/ */
void plat_smp_setup(void) void __cpuinit plat_smp_setup(void)
{ {
if (read_c0_config3() & (1<<2)) if (read_c0_config3() & (1<<2))
mipsmt_build_cpu_map(0); mipsmt_build_cpu_map(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册