aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-08-06 09:02:12 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-08-26 21:16:54 -0400
commit428ab280a0754656fa09304017b0ce626744cc77 (patch)
tree90b3973d6451701399c66ea252852bb7d34762a9 /arch/mips/mips-boards
parentd98cc84dd11c126f85675dab8e2aebcbee114a90 (diff)
[MIPS] SMP: Scatter __cpuinit over the code as needed.
MIPS doesn't do CPU hotplugging yet but since many of the functions don't even have an __init let's fix this right. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r--arch/mips/mips-boards/malta/malta_smtc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/mips-boards/malta/malta_smtc.c b/arch/mips/mips-boards/malta/malta_smtc.c
index ea8f3bb8ed81..40d782d7d37f 100644
--- a/arch/mips/mips-boards/malta/malta_smtc.c
+++ b/arch/mips/mips-boards/malta/malta_smtc.c
@@ -24,7 +24,7 @@ void core_send_ipi(int cpu, unsigned int action)
24 * Platform "CPU" startup hook 24 * Platform "CPU" startup hook
25 */ 25 */
26 26
27void prom_boot_secondary(int cpu, struct task_struct *idle) 27void __cpuinit prom_boot_secondary(int cpu, struct task_struct *idle)
28{ 28{
29 smtc_boot_secondary(cpu, idle); 29 smtc_boot_secondary(cpu, idle);
30} 30}
@@ -33,7 +33,7 @@ void prom_boot_secondary(int cpu, struct task_struct *idle)
33 * Post-config but pre-boot cleanup entry point 33 * Post-config but pre-boot cleanup entry point
34 */ 34 */
35 35
36void prom_init_secondary(void) 36void __cpuinit prom_init_secondary(void)
37{ 37{
38 void smtc_init_secondary(void); 38 void smtc_init_secondary(void);
39 int myvpe; 39 int myvpe;
@@ -75,7 +75,7 @@ void __init plat_prepare_cpus(unsigned int max_cpus)
75 * SMP initialization finalization entry point 75 * SMP initialization finalization entry point
76 */ 76 */
77 77
78void prom_smp_finish(void) 78void __cpuinit prom_smp_finish(void)
79{ 79{
80 smtc_smp_finish(); 80 smtc_smp_finish();
81} 81}