From: Ravikiran G Thirumalai Date: Mon, 3 Oct 2005 17:36:28 +0000 (-0700) Subject: [PATCH] x86_64: Fix numa node topology detection for srat based x86_64 boxes X-Git-Tag: v2.6.14-rc4~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddea7be0ec8d1374f0b483a81566ed56ec9f3905;p=pandora-kernel.git [PATCH] x86_64: Fix numa node topology detection for srat based x86_64 boxes 2.6.14-rc2 does not assign cpus to proper nodeids on our em64t numa boxen. Our boxes use acpi srat for parsing the numa information. srat_detect_node() used phys_proc_id[] to get to the cpu's local apic id, but phys_proc_id[] represents the cpu<->initial_apic_id mapping. The following patch fixes this problem. Now apicid_to_node[] is properly indexed with the local apic id. Signed-off-by: Ravikiran Thirumalai Acked-by: Suresh Siddha Cc: Andi Kleen Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed