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

From: Nick Piggin
Date: Sat Jan 24 2004 - 22:17:31 EST




Zwane Mwaikambo wrote:

On Sat, 24 Jan 2004, Andrew Morton wrote:


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.


There was actually other breakage too, so how about;


Thanks very much Zwane.


-
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/