[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:
parent
9d5a3f5fa3
commit
4d7d814798
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue