cpu: Remove unused init_cpu_online

The last use of init_cpu_online() was removed by the
commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture")

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
This commit is contained in:
Dr. David Alan Gilbert 2024-12-20 16:57:39 +00:00 committed by Yury Norov
parent f9d2ee3f51
commit 7f15d4abf9
2 changed files with 0 additions and 6 deletions

View File

@ -1043,7 +1043,6 @@ extern const DECLARE_BITMAP(cpu_all_bits, NR_CPUS);
/* Wrappers for arch boot code to manipulate normally-constant masks */ /* Wrappers for arch boot code to manipulate normally-constant masks */
void init_cpu_present(const struct cpumask *src); void init_cpu_present(const struct cpumask *src);
void init_cpu_possible(const struct cpumask *src); void init_cpu_possible(const struct cpumask *src);
void init_cpu_online(const struct cpumask *src);
#define assign_cpu(cpu, mask, val) \ #define assign_cpu(cpu, mask, val) \
assign_bit(cpumask_check(cpu), cpumask_bits(mask), (val)) assign_bit(cpumask_check(cpu), cpumask_bits(mask), (val))

View File

@ -3128,11 +3128,6 @@ void init_cpu_possible(const struct cpumask *src)
cpumask_copy(&__cpu_possible_mask, src); cpumask_copy(&__cpu_possible_mask, src);
} }
void init_cpu_online(const struct cpumask *src)
{
cpumask_copy(&__cpu_online_mask, src);
}
void set_cpu_online(unsigned int cpu, bool online) void set_cpu_online(unsigned int cpu, bool online)
{ {
/* /*