summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-06-15 16:22:09 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2009-06-15 16:22:09 +1000
commitba4282689a462e40cd827f8d1dbeed04cfdc28b1 (patch)
tree8712a8a28c0ca748fd7c35492c36fec5c7e1a59b
parent8e00cc64c0c8e7c276cce9722cf670b2d2685a89 (diff)
Revert "cpumask:remove-CPU_MASK_ALL_PTR"
This reverts commit 3360ebad15b16eac7b0205595d6fe561716725c5.
-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 fdc2f40ff4bf..c5ac87ca7bc6 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