diff options
author | Jayachandran C <jayachandranc@netlogicmicro.com> | 2011-06-22 01:37:05 +0530 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-10-20 15:00:19 +0100 |
commit | a74e33535fa27c758d2a23ebf5f8964bf19940bc (patch) | |
tree | bc7b84a1750b74e1d1260a7a6820671ac6daed47 /arch/mips/netlogic/xlr/smp.c | |
parent | b77bb37a2ad7689d9ef8048df9cc30ee770f5a94 (diff) |
MIPS:Netlogic:Fix section mismatch warnings.
Add __init and __cpuinit annotation to functions that need it.
Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2535/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/xlr/smp.c')
-rw-r--r-- | arch/mips/netlogic/xlr/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/netlogic/xlr/smp.c b/arch/mips/netlogic/xlr/smp.c index d842bce5c940..e2372121307c 100644 --- a/arch/mips/netlogic/xlr/smp.c +++ b/arch/mips/netlogic/xlr/smp.c @@ -191,7 +191,7 @@ struct plat_smp_ops nlm_smp_ops = { unsigned long secondary_entry_point; -int nlm_wakeup_secondary_cpus(u32 wakeup_mask) +int __cpuinit nlm_wakeup_secondary_cpus(u32 wakeup_mask) { unsigned int tid, pid, ipi, i, boot_cpu; void *reset_vec; |