Re: [PATCH][2.6.7-rc3-mm1] perfctr cpumask cleanup

From: Paul Jackson
Date: Thu Jun 10 2004 - 10:54:18 EST


Mikael wrote:
> > - cpus_andnot(new_mask, old_mask, tmp);
> > + cpus_andnot(new_mask, old_mask, perfctr_cpus_forbidden_mask);
>
> Doesn't work because cpus_andnot() requires all three parameters
> to be lvalues. ... CPU_MASK_NONE ...

I think your other fix (also done by Bill Irwin), make the above possible:

#define CPU_MASK_NONE \
-{ { \
+((cpumask_t) { { \


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