diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-08-06 13:02:12 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-08-27 01:16:54 (GMT) |
commit | 428ab280a0754656fa09304017b0ce626744cc77 (patch) | |
tree | 90b3973d6451701399c66ea252852bb7d34762a9 /arch/mips/qemu/q-smp.c | |
parent | d98cc84dd11c126f85675dab8e2aebcbee114a90 (diff) | |
download | linux-fsl-qoriq-428ab280a0754656fa09304017b0ce626744cc77.tar.xz |
[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/qemu/q-smp.c')
-rw-r--r-- | arch/mips/qemu/q-smp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/qemu/q-smp.c b/arch/mips/qemu/q-smp.c index 786bbfa..4b0178d 100644 --- a/arch/mips/qemu/q-smp.c +++ b/arch/mips/qemu/q-smp.c @@ -22,11 +22,11 @@ void core_send_ipi(int cpu, unsigned int action) * After we've done initial boot, this function is called to allow the * board code to clean up state, if needed */ -void prom_init_secondary(void) +void __cpuinit prom_init_secondary(void) { } -void prom_smp_finish(void) +void __cpuinit prom_smp_finish(void) { } @@ -43,7 +43,7 @@ void __init prom_prepare_cpus(unsigned int max_cpus) /* * Firmware CPU startup hook */ -void prom_boot_secondary(int cpu, struct task_struct *idle) +void __cpuinit prom_boot_secondary(int cpu, struct task_struct *idle) { } |