Commit 4d7d8147 authored by Ralf Baechle's avatar 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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment