Re: [PATCH] cpumask 5/10 rewrite cpumask.h - single bitmap basedimplementation
From: David S. Miller
Date: Fri Jun 04 2004 - 00:26:21 EST
On Thu, 3 Jun 2004 22:18:54 -0700
Paul Jackson <pj@xxxxxxx> 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.
-
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/