aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cpumask.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-09-24 11:34:36 -0400
committerRusty Russell <rusty@rustcorp.com.au>2009-09-23 20:04:36 -0400
commit72d78d05cbaa69f2a32f5f9d65a4551ba0da571f (patch)
tree9116e29924269c671f19dba69abe38f5730bc00e /include/linux/cpumask.h
parent51c870a2d8708bda83c4ba47f26012a8420bdaff (diff)
cpumask: remove unused cpu_mask_all
It's only defined for NR_CPUS > BITS_PER_LONG; cpu_all_mask is always defined (and const). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/linux/cpumask.h')
-rw-r--r--include/linux/cpumask.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index c0ab3588129..dbb8367ecf5 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -332,9 +332,6 @@ static inline const struct cpumask *get_cpu_mask(unsigned int cpu)
332 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \ 332 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
333} } 333} }
334 334
335/* cpu_mask_all is in init/main.c */
336extern cpumask_t cpu_mask_all;
337
338#endif 335#endif
339 336
340#define CPU_MASK_NONE \ 337#define CPU_MASK_NONE \