]> err.no Git - linux-2.6/commitdiff
[MIPS] Fix modpost warning.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 27 Jul 2007 23:53:14 +0000 (00:53 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:27 +0000 (21:35 +0100)
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>
arch/mips/mips-boards/malta/malta_smtc.c

index d1c80f6311005e7b48d7192698cb236dcd7b2936..0fb4c269901ce7ad44b160b4956aa706cfde6151 100644 (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);