File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -476,7 +476,7 @@ core_initcall(ipi_pm_init);
476
476
#endif
477
477
478
478
/* Preload SMP state for boot cpu */
479
- void smp_prepare_boot_cpu (void )
479
+ void __init smp_prepare_boot_cpu (void )
480
480
{
481
481
unsigned int cpu , node , rr_node ;
482
482
Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
439
439
}
440
440
441
441
/* preload SMP state for boot cpu */
442
- void smp_prepare_boot_cpu (void )
442
+ void __init smp_prepare_boot_cpu (void )
443
443
{
444
444
if (mp_ops -> prepare_boot_cpu )
445
445
mp_ops -> prepare_boot_cpu ();
Original file line number Diff line number Diff line change @@ -1166,7 +1166,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
1166
1166
cpu_smt_set_num_threads (num_threads , threads_per_core );
1167
1167
}
1168
1168
1169
- void smp_prepare_boot_cpu (void )
1169
+ void __init smp_prepare_boot_cpu (void )
1170
1170
{
1171
1171
BUG_ON (smp_processor_id () != boot_cpuid );
1172
1172
#ifdef CONFIG_PPC64
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ static inline void on_each_cpu_cond(smp_cond_func_t cond_func,
109
109
* Architecture specific boot CPU setup. Defined as empty weak function in
110
110
* init/main.c. Architectures can override it.
111
111
*/
112
- void smp_prepare_boot_cpu (void );
112
+ void __init smp_prepare_boot_cpu (void );
113
113
114
114
#ifdef CONFIG_SMP
115
115
You can’t perform that action at this time.
0 commit comments