summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-26 04:40:16 +0200
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 22:35:22 +0200
commit72db43be8bf610d50d86a9e683e0eff3c2cc5ba4 (patch)
tree8d04117ff3f0dedce97c9dab738e8c57f12b101d
parent[MIPS] Wire up the fallocate syscall. (diff)
downloadlinux-72db43be8bf610d50d86a9e683e0eff3c2cc5ba4.tar.xz
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>
-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();