mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 02:05:33 +00:00
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:
parent
f9d2ee3f51
commit
7f15d4abf9
@ -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))
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user