diff options
author | Andreas Herrmann <andreas.herrmann3@amd.com> | 2009-09-16 11:33:40 +0200 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2009-09-16 11:33:40 +0200 |
commit | 6a8126911a5ab167783fce18ae9cc70ec9b84fe2 (patch) | |
tree | 9ebf91277ff7d99861ee87379f5fc8252f24f33a /drivers/edac | |
parent | b9183f9b99a9bd3349aefbd51d22f7e1bdc4a087 (diff) | |
download | linux-6a8126911a5ab167783fce18ae9cc70ec9b84fe2.tar.gz linux-6a8126911a5ab167783fce18ae9cc70ec9b84fe2.tar.bz2 linux-6a8126911a5ab167783fce18ae9cc70ec9b84fe2.zip |
x86, EDAC: Provide function to return NodeId of a CPU
Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'drivers/edac')
-rw-r--r-- | drivers/edac/edac_mce_amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/edac_mce_amd.c b/drivers/edac/edac_mce_amd.c index c8ca7136dacc..0c21c370c9dd 100644 --- a/drivers/edac/edac_mce_amd.c +++ b/drivers/edac/edac_mce_amd.c @@ -405,7 +405,7 @@ void decode_mce(struct mce *m) regs.nbsh = (u32)(m->status >> 32); regs.nbeal = (u32) m->addr; regs.nbeah = (u32)(m->addr >> 32); - node = per_cpu(cpu_llc_id, m->extcpu); + node = amd_get_nb_id(m->extcpu); amd_decode_nb_mce(node, ®s, 1); break; |