aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/smp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-05-31 11:15:01 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-06-11 13:20:54 -0400
commit4ebd5233f0420f1e383c38f962ec84c4d53fbbad (patch)
treeb944968ed2ed36fbfbc2c53e15c7780148d8a444 /arch/mips/kernel/smp.c
parentcf7578995398e20d3ab0748e6d5f83ea6c7a0035 (diff)
[MIPS] Fix modpost warnings by making start_secondary __cpuinit
WARNING: arch/mips/kernel/built-in.o(.text+0x9a58): Section mismatch: reference to .init.text:cpu_report (between 'start_secondary' and 'smp_prepare_boot_cpu') WARNING: arch/mips/kernel/built-in.o(.text+0x9a60): Section mismatch: reference to .init.text:per_cpu_trap_init (between 'start_secondary' and 'smp_prepare_boot_cpu') WARNING: arch/mips/kernel/built-in.o(.text+0x9adc): Section mismatch: reference to .init.text:cpu_probe (between 'start_secondary' and 'smp_prepare_boot_cpu') mipsel-linux-objcopy -S -O srec --remove-section=.reginfo --remove-section=.mdebug --remove-section=.comment --remove-section=.note --remove-section=.pdr --remove-section=.options --remove-section=.MIPS.options vmlinux arch/mips/boot/vmlinux.srec Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/smp.c')
-rw-r--r--arch/mips/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/smp.c b/arch/mips/kernel/smp.c
index c46e479c992b..67edfa7ed93a 100644
--- a/arch/mips/kernel/smp.c
+++ b/arch/mips/kernel/smp.c
@@ -68,7 +68,7 @@ extern ATTRIB_NORET void cpu_idle(void);
68 * First C code run on the secondary CPUs after being started up by 68 * First C code run on the secondary CPUs after being started up by
69 * the master. 69 * the master.
70 */ 70 */
71asmlinkage void start_secondary(void) 71asmlinkage __cpuinit void start_secondary(void)
72{ 72{
73 unsigned int cpu; 73 unsigned int cpu;
74 74