]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] x86_64: fix the BP node_to_cpumask
authorRavikiran G Thirumalai <kiran@scalex86.org>
Fri, 30 Sep 2005 18:59:21 +0000 (11:59 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 30 Sep 2005 19:41:20 +0000 (12:41 -0700)
commite6a045a5b89037ae87c8c1bc84403f1d498e52a1
tree6e031521bec77df6f47ae65ff3375123d57623d2
parent2dd960d66bc12b6b206e63104636514e5da0ddb7
[PATCH] x86_64: fix the BP node_to_cpumask

Fix the BP node_to_cpumask.  2.6.14-rc* broke the boot cpu bit as the
cpu_to_node(0) is now not setup early enough for numa_init_array.
cpu_to_node[] is setup much later at srat_detect_node on acpi srat based
em64t machines.  This seems like a problem on amd machines too, Tested on
em64t though.  /sys/devices/system/node/node0/cpumap shows up sanely after
this patch.

Signed off by: Ravikiran Thirumalai <kiran@scalex86.org>
Signed-off-by: Shai Fultheim <shai@scalex86.org>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/mm/numa.c