Re: [PATCH] cpumask 5/10 rewrite cpumask.h - single bitmap based implementation

David S. Miller
2004-06-04T05:24:46Z

On Thu, 3 Jun 2004 22:18:54 -0700
Paul Jackson <pj@sgi.com> wrote:

> The "ideal" solution, in my view, would be to have someone with arch
> specific experience in each affected arch code these uses of cpus_addr()
> out, then remove cpus_addr() entirely.
>
> Perhaps I should comment the cpus_addr() definition as 'deprecated'?

I would suggest just making the build fail for these cases.
You could do this by simply doing something like:

#error Assumes cpumask_t is integral type

at the suspect spots.