]> err.no Git - linux-2.6/commitdiff
[MIPS] Remove unused cpu_callout_map and num_booting_cpus()
authorAdrian Bunk <bunk@stusta.de>
Sat, 7 Jul 2007 01:03:27 +0000 (03:03 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 Jul 2007 16:32:55 +0000 (17:32 +0100)
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/smp.h

index 1608fd71d6f7ffd7d1e1a39cf181515c658c3ea4..13aef6af422c1cbd9eb445df6c5cbda10b852407 100644 (file)
@@ -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.
  */