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

Andrew Morton (akpm@osdl.org)
Thu, 10 Jul 2003 00:18:53 -0700


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