git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d7d814
)
[MIPS] SMTC: Fix modpost warning.
author
Ralf Baechle
<ralf@linux-mips.org>
Fri, 27 Jul 2007 23:54:32 +0000
(
00:54
+0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 31 Jul 2007 20:35:27 +0000
(21:35 +0100)
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 <ralf@linux-mips.org>
arch/mips/kernel/smtc.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/smtc.c
b/arch/mips/kernel/smtc.c
index
6b3c3ea
..
16aa5d3
100644
(file)
--- 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;