summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smtc.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-28 01:54:32 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 22:35:27 +0200
commite119d49ab51385d8163246db8cce74a46cd3b863 (patch)
tree05a36b716fa5c9349e301654dda35525691ed187 /arch/mips/kernel/smtc.c
parent[MIPS] Fix modpost warning. (diff)
downloadlinux-e119d49ab51385d8163246db8cce74a46cd3b863.tar.xz
linux-e119d49ab51385d8163246db8cce74a46cd3b863.zip
[MIPS] SMTC: Fix modpost warning.
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>
Diffstat (limited to 'arch/mips/kernel/smtc.c')
-rw-r--r--arch/mips/kernel/smtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c
index 6b3c3ea8bc61..16aa5d37117c 100644
--- a/arch/mips/kernel/smtc.c
+++ b/arch/mips/kernel/smtc.c
@@ -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;