Commit 72d78d05cbaa69f2a32f5f9d65a4551ba0da571f

Authored by Rusty Russell
1 parent 51c870a2d8

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>

Showing 2 changed files with 0 additions and 8 deletions Side-by-side Diff

include/linux/cpumask.h
... ... @@ -332,9 +332,6 @@
332 332 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
333 333 } }
334 334  
335   -/* cpu_mask_all is in init/main.c */
336   -extern cpumask_t cpu_mask_all;
337   -
338 335 #endif
339 336  
340 337 #define CPU_MASK_NONE \
... ... @@ -360,11 +360,6 @@
360 360  
361 361 #else
362 362  
363   -#if NR_CPUS > BITS_PER_LONG
364   -cpumask_t cpu_mask_all __read_mostly = CPU_MASK_ALL;
365   -EXPORT_SYMBOL(cpu_mask_all);
366   -#endif
367   -
368 363 /* Setup number of possible processor ids */
369 364 int nr_cpu_ids __read_mostly = NR_CPUS;
370 365 EXPORT_SYMBOL(nr_cpu_ids);