Re: 2.5.74-mm3 - apm_save_cpus() Macro still bombs out

Thomas Schlichter
2003-07-10T09:09:13Z

On Thursday 10 July 2003 07:44, Piet Delaney wrote:
> On Wed, 2003-07-09 at 02:18, Andrew Morton wrote:
> > Thomas Schlichter <schlicht@uni-mannheim.de> wrote:
>
> .
> .
> .
>
> > Seems complex. I just have this:

~~snip~~

> I'll settle for Matt Mackall <mpm@selenic.com> fix for now:
>
> +#define apm_save_cpus() (current->cpus_allowed)
>
> I wonder why other, like Thomas Schlichter <schlicht@uni-mannheim.de>,
> had no problem with the CPU_MASK_NONE fix.

Well, I didn't try the CPU_MASK_NONE fix. I am using my fix attached to my
first mail, but Andrew ment it was too complex (your quoting from above). So
he proposed the simpler fix, wich simply looked good to me...

> I tried adding the #include <linux/cpumask.h> that Marc-Christian
> Petersen <m.c.p@wolk-project.de> sugested but it didn't help. Looks
> like Jan De Luyck <lkml@kcore.org> had a similar result.
>
> -piet

Thomas