[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>
This commit is contained in:
Ralf Baechle
2007-08-06 14:02:12 +01:00
부모 d98cc84dd1
커밋 428ab280a0
7개의 변경된 파일20개의 추가작업 그리고 20개의 파일을 삭제

파일 보기

@@ -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)
{
}