Re: compile error with 2.6.7-rc3-mm1

From: Paul Jackson
Date: Fri Jun 11 2004 - 08:30:30 EST


Clemens wrote:
> I think I have a similar problem like I had before:


I think that this should be the same solution as was suggested before
by William Lee Irwin III:



Index: mm1-2.6.7-rc3/include/linux/cpumask.h
===================================================================
--- mm1-2.6.7-rc3.orig/include/linux/cpumask.h 2004-06-09 08:06:54.000000000 -0700
+++ mm1-2.6.7-rc3/include/linux/cpumask.h 2004-06-09 22:30:18.000000000 -0700
@@ -248,9 +248,9 @@
#endif

#define CPU_MASK_NONE \
-{ { \
+((cpumask_t) { { \
[0 ... BITS_TO_LONGS(NR_CPUS)-1] = 0UL \
-} }
+} })

#define cpus_addr(src) ((src).bits)


--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.650.933.1373
-
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/