x86, amd: Normalize compute unit IDs on multi-node processors
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Mon, 24 Jan 2011 15:05:40 +0000 (16:05 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 26 Jan 2011 07:28:22 +0000 (08:28 +0100)
commitd518573de63fb119e5e9a3137386544671387681
tree79b4706b1d1a2fd54ed9025c7b8320a38c56b944
parent6663050edd9c2e8b1e1f55c09459144d84c045f0
x86, amd: Normalize compute unit IDs on multi-node processors

On multi-node CPUs we don't need the socket wide compute unit ID
but the node-wide compute unit ID. Thus we need to normalize the
value. This is similar to what we do with cpu_core_id.

A compute unit is then identified by physical_package_id,
node_id, and compute_unit_id.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <1295881543-572552-2-git-send-email-hans.rosenfeld@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/smpboot.c