Skip to content

Commit

Permalink
[MIPS] Fix modpost warning.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ralf Baechle committed Jul 31, 2007
1 parent 9d5a3f5 commit 4d7d814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/mips-boards/malta/malta_smtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4d7d814

Please sign in to comment.