From: Ralf Baechle Date: Fri, 27 Jul 2007 23:54:32 +0000 (+0100) Subject: [MIPS] SMTC: Fix modpost warning. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e119d49ab51385d8163246db8cce74a46cd3b863;p=mv-sheeva.git [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 --- diff --git a/arch/mips/kernel/smtc.c b/arch/mips/kernel/smtc.c index 6b3c3ea8bc6..16aa5d37117 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;