mirror of https://gitee.com/openkylin/linux.git
[MIPS] Remove unused cpu_callout_map and num_booting_cpus()
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
9797cae3bf
commit
4679258d52
|
@ -49,13 +49,6 @@ extern struct call_data_struct *call_data;
|
|||
extern cpumask_t phys_cpu_present_map;
|
||||
#define cpu_possible_map phys_cpu_present_map
|
||||
|
||||
extern cpumask_t cpu_callout_map;
|
||||
/* We don't mark CPUs online until __cpu_up(), so we need another measure */
|
||||
static inline int num_booting_cpus(void)
|
||||
{
|
||||
return cpus_weight(cpu_callout_map);
|
||||
}
|
||||
|
||||
/*
|
||||
* These are defined by the board-specific code.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue