Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4d7d8147 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);