Re: [PATCH] mask ADT: replace cpumask_t implementation [3/22]

Matthew Dobson
2004-04-01T22:51:53Z

On Thu, 2004-04-01 at 12:46, Paul Jackson wrote:
> Matthew suggested:
> > Maybe we could #define it better on UP. Something along the lines of:
> > #define cpu_online_map ({ cpumask_t up_cpu_map = { 1UL }; })
>
> Yeah - I started playing with something like that too ...

Cool. I think you're right about an actual cpumask_t for cpu_online_map
on UP not being a great idea, but I definitely think we can do better
than just #defining it to cpumask_of_cpu(0).

-Matt