Re: [PATCH][2.6-mm] Fix CONFIG_SMT oops on UP

From: Andrew Morton
Date: Sat Jan 24 2004 - 18:40:06 EST


Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx> wrote:
>
> + cpu_sibling_map[0] = CPU_MASK_NONE;

alas, this will not compile with NR_CPUS > 4*BITS_PER_LONG because this:

#define CPU_MASK_NONE { {[0 ... CPU_ARRAY_SIZE-1] = 0UL} }

is not a suitable rhs - it can only be used for initalisers. Fixing this
would be appreciated.

Meanwhile, I'll use cpus_clear() in there.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/