From: William Lee Irwin III include/asm-generic/cpumask_up.h | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff -puN include/asm-generic/cpumask_up.h~cpumask_t-up-build-fix include/asm-generic/cpumask_up.h --- 25/include/asm-generic/cpumask_up.h~cpumask_t-up-build-fix 2003-08-02 22:22:15.000000000 -0700 +++ 25-akpm/include/asm-generic/cpumask_up.h 2003-08-02 22:22:15.000000000 -0700 @@ -1,9 +1,7 @@ #ifndef __ASM_GENERIC_CPUMASK_UP_H #define __ASM_GENERIC_CPUMASK_UP_H -#define CPU_ARRAY_SIZE BITS_TO_LONGS(NR_CPUS) - -#define cpus_coerce(map) ((map).mask[0]) +#define cpus_coerce(map) (map) #define cpu_set(cpu, map) do { cpus_coerce(map) = 1UL; } while (0) #define cpu_clear(cpu, map) do { cpus_coerce(map) = 0UL; } while (0) @@ -54,7 +52,7 @@ /* * um, these need to be usable as static initializers */ -#define CPU_MASK_ALL { {[0 ... CPU_ARRAY_SIZE-1] = 1UL} } -#define CPU_MASK_NONE { {[0 ... CPU_ARRAY_SIZE-1] = 0UL} } +#define CPU_MASK_ALL 1UL +#define CPU_MASK_NONE 0UL #endif /* __ASM_GENERIC_CPUMASK_UP_H */ _