Re: fix up compat_sched_[get/set]affinity

William Lee Irwin III
2004-06-07T17:07:50Z

On Mon, Jun 07, 2004 at 12:54:46PM -0400, Joe Korty wrote:
> Possible algorithms for the support routines needed by wli's code, above.
> Completely untested, hope to refine and test soon.

I had in mind:
#define cpus_to_u32_array(a,cpus) bitmap_to_u32_array(a,cpus,sizeof(cpus))
#define cpus_from_u32_array(a,cpus) bitmap_from_u32_array(a,cpus,sizeof(cpus))

Non-issue since Mikael already has some tested/etc. code to drop into
lib/bitmap.c or wherever.

-- wli