File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 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);
476476#endif
477477
478478/* Preload SMP state for boot cpu */
479- void smp_prepare_boot_cpu (void )
479+ void __init smp_prepare_boot_cpu (void )
480480{
481481 unsigned int cpu , node , rr_node ;
482482
Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
439439}
440440
441441/* preload SMP state for boot cpu */
442- void smp_prepare_boot_cpu (void )
442+ void __init smp_prepare_boot_cpu (void )
443443{
444444 if (mp_ops -> prepare_boot_cpu )
445445 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)
11661166 cpu_smt_set_num_threads (num_threads , threads_per_core );
11671167}
11681168
1169- void smp_prepare_boot_cpu (void )
1169+ void __init smp_prepare_boot_cpu (void )
11701170{
11711171 BUG_ON (smp_processor_id () != boot_cpuid );
11721172#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,
109109 * Architecture specific boot CPU setup. Defined as empty weak function in
110110 * init/main.c. Architectures can override it.
111111 */
112- void smp_prepare_boot_cpu (void );
112+ void __init smp_prepare_boot_cpu (void );
113113
114114#ifdef CONFIG_SMP
115115
You can’t perform that action at this time.
0 commit comments