summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-03-05 18:52:23 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2009-03-05 18:52:23 +1100
commit99a67f61ac5d6a5d29cfffb04bc8c24836e58b99 (patch)
treeff5d1468e66d2b81e47fce8471b32e74d6f8e901
parent422e7a379a9f388acafda0aa6d4fa92caa1a2d44 (diff)
Revert "cpumask:remove-CPU_MASK_ALL_PTR"
This reverts commit 66ec53ceff39a3daf3b1a3628bca1198bd88c7b3.
-rw-r--r--include/linux/cpumask.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 3b4b5e1ed81e..8659c2dcc2de 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -324,6 +324,8 @@ static inline const struct cpumask *get_cpu_mask(unsigned int cpu)
[BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
} }
+#define CPU_MASK_ALL_PTR (&CPU_MASK_ALL)
+
#else
#define CPU_MASK_ALL \
@@ -334,6 +336,7 @@ static inline const struct cpumask *get_cpu_mask(unsigned int cpu)
/* cpu_mask_all is in init/main.c */
extern cpumask_t cpu_mask_all;
+#define CPU_MASK_ALL_PTR (&cpu_mask_all)
#endif