lkml.org 
[lkml]   [2004]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][2.6-mm] Fix CONFIG_SMT oops on UP
Zwane Mwaikambo <zwane@arm.linux.org.uk> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.194 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site