projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dc4677
)
[MIPS] IP27: Fix modpost warning.
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 26 Jul 2007 02:40:16 +0000
(
03:40
+0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:22 +0000
(21:35 +0100)
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>
arch/mips/sgi-ip27/ip27-smp.c
patch
|
blob
|
history
diff --git
a/arch/mips/sgi-ip27/ip27-smp.c
b/arch/mips/sgi-ip27/ip27-smp.c
index 09fa7f5216f0f294217e368fcb6e7f0dc91e3d6e..08e79141b47c9ecb0e2c4d9b6122dc832333022d 100644
(file)
--- 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();