Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Adrian Bunk and committed by
Ralf Baechle
4679258d 9797cae3

-7
-7
include/asm-mips/smp.h
··· 49 49 extern cpumask_t phys_cpu_present_map; 50 50 #define cpu_possible_map phys_cpu_present_map 51 51 52 - extern cpumask_t cpu_callout_map; 53 - /* We don't mark CPUs online until __cpu_up(), so we need another measure */ 54 - static inline int num_booting_cpus(void) 55 - { 56 - return cpus_weight(cpu_callout_map); 57 - } 58 - 59 52 /* 60 53 * These are defined by the board-specific code. 61 54 */