aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorAndreas Herrmann <andreas.herrmann3@amd.com>2009-09-16 05:33:40 -0400
committerBorislav Petkov <borislav.petkov@amd.com>2009-09-16 05:33:40 -0400
commit6a8126911a5ab167783fce18ae9cc70ec9b84fe2 (patch)
tree9ebf91277ff7d99861ee87379f5fc8252f24f33a /drivers/edac
parentb9183f9b99a9bd3349aefbd51d22f7e1bdc4a087 (diff)
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.c2
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)
405 regs.nbsh = (u32)(m->status >> 32); 405 regs.nbsh = (u32)(m->status >> 32);
406 regs.nbeal = (u32) m->addr; 406 regs.nbeal = (u32) m->addr;
407 regs.nbeah = (u32)(m->addr >> 32); 407 regs.nbeah = (u32)(m->addr >> 32);
408 node = per_cpu(cpu_llc_id, m->extcpu); 408 node = amd_get_nb_id(m->extcpu);
409 409
410 amd_decode_nb_mce(node, &regs, 1); 410 amd_decode_nb_mce(node, &regs, 1);
411 break; 411 break;