Archived
14
0
Fork 0

[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: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2007-07-28 00:53:14 +01:00
parent 9d5a3f5fa3
commit 4d7d814798

View file

@ -58,7 +58,7 @@ void prom_init_secondary(void)
* but it may be multithreaded.
*/
void plat_smp_setup(void)
void __cpuinit plat_smp_setup(void)
{
if (read_c0_config3() & (1<<2))
mipsmt_build_cpu_map(0);