summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi-ip27/ip27-smp.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-26 03:40:16 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 21:35:22 +0100
commit72db43be8bf610d50d86a9e683e0eff3c2cc5ba4 (patch)
tree8d04117ff3f0dedce97c9dab738e8c57f12b101d /arch/mips/sgi-ip27/ip27-smp.c
parent4dc467756e77838c592a6dc797434f11761d33f5 (diff)
downloadlinux-72db43be8bf610d50d86a9e683e0eff3c2cc5ba4.tar.gz
linux-72db43be8bf610d50d86a9e683e0eff3c2cc5ba4.tar.bz2
linux-72db43be8bf610d50d86a9e683e0eff3c2cc5ba4.zip
[MIPS] IP27: Fix modpost warning.
MODPOST vmlinux.o WARNING: vmlinux.o(.text+0x3180): Section mismatch: reference to .init.text:per_cpu_init (between 'prom_init_secondary' and 'alloc_cpupda') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip27/ip27-smp.c')
-rw-r--r--arch/mips/sgi-ip27/ip27-smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip27/ip27-smp.c b/arch/mips/sgi-ip27/ip27-smp.c
index 09fa7f5216f0..08e79141b47c 100644
--- a/arch/mips/sgi-ip27/ip27-smp.c
+++ b/arch/mips/sgi-ip27/ip27-smp.c
@@ -181,7 +181,7 @@ void __init prom_boot_secondary(int cpu, struct task_struct *idle)
0, (void *) sp, (void *) gp);
}
-void prom_init_secondary(void)
+void __cpuinit prom_init_secondary(void)
{
per_cpu_init();
local_irq_enable();