From: Nick Piggin <nickpiggin@yahoo.com.au>
Do the typecast thing to permit CPU_MASK_ALL to be used both as an
initialiser and as a normal rvalue.
/*
* um, these need to be usable as static initializers
*/
-#define CPU_MASK_ALL { {[0 ... CPU_ARRAY_SIZE-1] = ~0UL} }
-#define CPU_MASK_NONE { {[0 ... CPU_ARRAY_SIZE-1] = 0UL} }
+#define CPU_MASK_ALL ((cpumask_t) { {[0 ... CPU_ARRAY_SIZE-1] = ~0UL} })
+#define CPU_MASK_NONE ((cpumask_t) { {[0 ... CPU_ARRAY_SIZE-1] = 0UL} })
#endif /* __ASM_GENERIC_CPUMASK_ARRAY_H */