[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.6.1-mm3



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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>