From: Adrian Bunk Date: Sat, 7 Jul 2007 01:03:27 +0000 (+0200) Subject: [MIPS] Remove unused cpu_callout_map and num_booting_cpus() X-Git-Tag: v2.6.23-rc1~1153^2~57 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4679258d52f6d4aeeafd5c77203d97ddf48e2db0;p=linux-2.6 [MIPS] Remove unused cpu_callout_map and num_booting_cpus() Signed-off-by: Adrian Bunk Signed-off-by: Ralf Baechle --- diff --git a/include/asm-mips/smp.h b/include/asm-mips/smp.h index 1608fd71d6..13aef6af42 100644 --- a/include/asm-mips/smp.h +++ b/include/asm-mips/smp.h @@ -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. */