summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-08-11 10:22:17 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-08-11 10:22:17 +1000
commit1dd95fd3956bb638139430d922ba7c9e2aa6739f (patch)
treed2efa5cfc8310b35376da858af37c2354049d57f /init
parentd6a1b315a38babc952344d0c47f907753832cb2c (diff)
cpumask:remove-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')
-rw-r--r--init/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/init/main.c b/init/main.c
index 2c5ade79eb81..e341b4b06cc6 100644
--- a/init/main.c
+++ b/init/main.c
@@ -359,11 +359,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);