diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-24 11:34:36 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-23 20:04:36 -0400 |
commit | 72d78d05cbaa69f2a32f5f9d65a4551ba0da571f (patch) | |
tree | 9116e29924269c671f19dba69abe38f5730bc00e /init/main.c | |
parent | 51c870a2d8708bda83c4ba47f26012a8420bdaff (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 'init/main.c')
-rw-r--r-- | init/main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/init/main.c b/init/main.c index 6107223124e4..51695cee1864 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -360,11 +360,6 @@ static inline void smp_prepare_cpus(unsigned int maxcpus) { } | |||
360 | 360 | ||
361 | #else | 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 | /* Setup number of possible processor ids */ | 363 | /* Setup number of possible processor ids */ |
369 | int nr_cpu_ids __read_mostly = NR_CPUS; | 364 | int nr_cpu_ids __read_mostly = NR_CPUS; |
370 | EXPORT_SYMBOL(nr_cpu_ids); | 365 | EXPORT_SYMBOL(nr_cpu_ids); |