diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-generic/cpumask_array.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-generic/cpumask_array.h b/include/asm-generic/cpumask_array.h index c7e2db29dc53..ddd6e1185dba 100644 --- a/include/asm-generic/cpumask_array.h +++ b/include/asm-generic/cpumask_array.h @@ -48,7 +48,7 @@ /* * 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 */ |
