aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/cpumask.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h
index 67e0e38d32b1..629102feaa66 100644
--- a/include/linux/cpumask.h
+++ b/include/linux/cpumask.h
@@ -243,6 +243,8 @@ int __next_cpu(int n, const cpumask_t *srcp);
243 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \ 243 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
244} } 244} }
245 245
246#define CPU_MASK_ALL_PTR (&CPU_MASK_ALL)
247
246#else 248#else
247 249
248#define CPU_MASK_ALL \ 250#define CPU_MASK_ALL \
@@ -251,6 +253,10 @@ int __next_cpu(int n, const cpumask_t *srcp);
251 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \ 253 [BITS_TO_LONGS(NR_CPUS)-1] = CPU_MASK_LAST_WORD \
252} } 254} }
253 255
256/* cpu_mask_all is in init/main.c */
257extern cpumask_t cpu_mask_all;
258#define CPU_MASK_ALL_PTR (&cpu_mask_all)
259
254#endif 260#endif
255 261
256#define CPU_MASK_NONE \ 262#define CPU_MASK_NONE \