]> err.no Git - linux-2.6/commit
x86: use core id bits for apicid_to_node initialization
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 30 Jan 2008 12:30:39 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:39 +0000 (13:30 +0100)
commit3f6e5a12b8384ab9816ba6703f4b4be87ac94b5a
treede18e4699de3eb5a0f4480974833deff66f5ad47
parenta860b63c41f241c685245127a3d32f352cb04c12
x86: use core id bits for apicid_to_node initialization

We shoud use core id bits instead of max cores, in case later with AMD
downcores Quad core Opteron.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Christoph Lameter <clameter@sgi.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/k8topology_64.c