Re: 2.6.1-mm3

From: Jes Sorensen
Date: Wed Jan 14 2004 - 07:29:36 EST


Hi Andrew,

Tiny patch to make -mm3 compile on an NUMA box with NR_CPUS >
BITS_PER_LONG.

Cheers,
Jes

--- old/kernel/sched.c~ Wed Jan 14 02:59:53 2004
+++ new/kernel/sched.c Wed Jan 14 03:18:28 2004
@@ -3249,7 +3249,7 @@
for_each_cpu_mask(j, node->cpumask) {
struct sched_group *cpu = &sched_group_cpus[j];

- cpu->cpumask = CPU_MASK_NONE;
+ cpus_clear(cpu->cpumask);
cpu_set(j, cpu->cpumask);

printk(KERN_INFO "CPU%d\n", j);
-
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/