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

From: Matthew Dobson
Date: Thu Apr 01 2004 - 17:54:10 EST


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

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