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

Andrew Morton
2003-07-10T07:18:53Z

William Lee Irwin III <wli@holomorphy.com> wrote:
>
> -#define apm_save_cpus() 0
> +#define apm_save_cpus() ({ cpumask_t __mask__ = CPU_MASK_NONE; __mask__; })

Taking a look at what the APM code is actually doing, I think using
current->cpus_allowed just more sense in here.

Not that it matters at all.