diff options
-rw-r--r-- | include/linux/cpumask.h | 3 | ||||
-rw-r--r-- | init/main.c | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h index c0ab358..dbb8367 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) [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \ } } -/* cpu_mask_all is in init/main.c */ -extern cpumask_t cpu_mask_all; - #endif #define CPU_MASK_NONE \ diff --git a/init/main.c b/init/main.c index 6107223..51695ce 100644 --- a/init/main.c +++ b/init/main.c @@ -360,11 +360,6 @@ static inline void smp_prepare_cpus(unsigned int maxcpus) { } #else -#if NR_CPUS > BITS_PER_LONG -cpumask_t cpu_mask_all __read_mostly = CPU_MASK_ALL; -EXPORT_SYMBOL(cpu_mask_all); -#endif - /* Setup number of possible processor ids */ int nr_cpu_ids __read_mostly = NR_CPUS; EXPORT_SYMBOL(nr_cpu_ids); |