···7777 * stack so the first thing we do is throw away that stuff and load useful7878 * values into the registers ...7979 */8080-void __init prom_boot_secondary(int cpu, struct task_struct *idle)8080+void __cpuinit prom_boot_secondary(int cpu, struct task_struct *idle)8181{8282 unsigned long gp = (unsigned long) task_thread_info(idle);8383 unsigned long sp = __KSTK_TOS(idle);···9797 * After we've done initial boot, this function is called to allow the9898 * board code to clean up state, if needed9999 */100100-void prom_init_secondary(void)100100+void __cpuinit prom_init_secondary(void)101101{102102 set_c0_status(ST0_CO | ST0_IE | ST0_IM);103103}104104105105-void prom_smp_finish(void)105105+void __cpuinit prom_smp_finish(void)106106{107107}108108
+3-3
arch/mips/qemu/q-smp.c
···2222 * After we've done initial boot, this function is called to allow the2323 * board code to clean up state, if needed2424 */2525-void prom_init_secondary(void)2525+void __cpuinit prom_init_secondary(void)2626{2727}28282929-void prom_smp_finish(void)2929+void __cpuinit prom_smp_finish(void)3030{3131}3232···4343/*4444 * Firmware CPU startup hook4545 */4646-void prom_boot_secondary(int cpu, struct task_struct *idle)4646+void __cpuinit prom_boot_secondary(int cpu, struct task_struct *idle)4747{4848}4949
+2-2
arch/mips/sgi-ip27/ip27-smp.c
···171171 * set sp to the kernel stack of the newly created idle process, gp to the proc172172 * struct so that current_thread_info() will work.173173 */174174-void __init prom_boot_secondary(int cpu, struct task_struct *idle)174174+void __cpuinit prom_boot_secondary(int cpu, struct task_struct *idle)175175{176176 unsigned long gp = (unsigned long)task_thread_info(idle);177177 unsigned long sp = __KSTK_TOS(idle);···191191{192192}193193194194-void prom_smp_finish(void)194194+void __cpuinit prom_smp_finish(void)195195{196196}197197
+3-3
arch/mips/sibyte/cfe/smp.c
···5858 * Setup the PC, SP, and GP of a secondary processor and start it5959 * running!6060 */6161-void prom_boot_secondary(int cpu, struct task_struct *idle)6161+void __cpuinit prom_boot_secondary(int cpu, struct task_struct *idle)6262{6363 int retval;6464···7272/*7373 * Code to run on secondary just after probing the CPU7474 */7575-void prom_init_secondary(void)7575+void __cpuinit prom_init_secondary(void)7676{7777#if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80)7878 extern void bcm1480_smp_init(void);···8989 * Do any tidying up before marking online and running the idle9090 * loop9191 */9292-void prom_smp_finish(void)9292+void __cpuinit prom_smp_finish(void)9393{9494#if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80)9595 extern void bcm1480_smp_finish(void);