Re: 2.6.7-rc3-mm1

From: William Lee Irwin III
Date: Wed Jun 09 2004 - 10:55:13 EST


On Wed, Jun 09, 2004 at 10:33:08AM -0500, Peter Maas wrote:
> K8 Numa broken...
>
> LD arch/x86_64/mm/hugetlbpage.o
> CC arch/x86_64/mm/numa.o
> arch/x86_64/mm/numa.c: In function `numa_initmem_init':
> arch/x86_64/mm/numa.c:185: error: incompatible types in assignment
> make[1]: *** [arch/x86_64/mm/numa.o] Error 1

Index: mm1-2.6.7-rc3/arch/x86_64/mm/numa.c
===================================================================
--- mm1-2.6.7-rc3.orig/arch/x86_64/mm/numa.c 2004-06-07 12:14:56.000000000 -0700
+++ mm1-2.6.7-rc3/arch/x86_64/mm/numa.c 2004-06-09 08:52:40.000000000 -0700
@@ -182,7 +182,7 @@
numnodes = 1;
for (i = 0; i < NR_CPUS; i++)
cpu_to_node[i] = 0;
- node_to_cpumask[0] = 1;
+ node_to_cpumask[0] = cpumask_of_cpu(0);
setup_node_bootmem(0, start_pfn<<PAGE_SHIFT, end_pfn<<PAGE_SHIFT);
}

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