]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] SMTC: Fix modpost warning.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 27 Jul 2007 23:54:32 +0000 (00:54 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:27 +0000 (21:35 +0100)
WARNING: vmlinux.o(.text+0xcf54): Section mismatch: reference to .init.text:smp_bootstrap (between 'smtc_boot_secondary' and 'ipi_interrupt')

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smtc.c

index 6b3c3ea8bc61fbf7e885af3d9b5f9dbbe0fef825..16aa5d37117c03049034d3c52755548015e2d55a 100644 (file)
@@ -524,7 +524,7 @@ void mipsmt_prepare_cpus(void)
  * (unsigned long)idle->thread_info the gp
  *
  */
-void smtc_boot_secondary(int cpu, struct task_struct *idle)
+void __cpuinit smtc_boot_secondary(int cpu, struct task_struct *idle)
 {
        extern u32 kernelsp[NR_CPUS];
        long flags;