cpumask cleanup patches dont build

From: Ashok Raj
Date: Thu May 06 2004 - 16:16:22 EST


Hi Paul

Appears that some changes are still missed.

i ran into sched.c the following seems to fix it


---

linux-2.6.6-rc3-mm2-root/kernel/sched.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN kernel/sched.c~pj_cpus_complement kernel/sched.c
--- linux-2.6.6-rc3-mm2/kernel/sched.c~pj_cpus_complement 2004-05-06 14:03:14.853689716 -0700
+++ linux-2.6.6-rc3-mm2-root/kernel/sched.c 2004-05-06 14:09:40.786504501 -0700
@@ -3666,7 +3666,7 @@ static void migrate_all_tasks(int src_cp
dest_cpu = any_online_cpu(tsk->cpus_allowed);
if (dest_cpu == NR_CPUS) {
cpus_clear(tsk->cpus_allowed);
- cpus_complement(tsk->cpus_allowed);
+ cpus_complement(tsk->cpus_allowed, tsk->cpus_allowed);
dest_cpu = any_online_cpu(tsk->cpus_allowed);

/* Don't tell them about moving exiting tasks

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