diff options
author | Borislav Petkov <borislav.petkov@amd.com> | 2009-07-24 07:51:42 -0400 |
---|---|---|
committer | Borislav Petkov <borislav.petkov@amd.com> | 2009-09-14 12:59:17 -0400 |
commit | 549d042df240dfb4203bab40ad44f9336751b7d6 (patch) | |
tree | af357ed8eaf06c26f19d458686b6c7ea4e425a05 /drivers/edac/amd64_edac_dbg.c | |
parent | ecaf5606de65cdd04de5f526185fe28fb0df654e (diff) |
x86, mce: pass mce info to EDAC for decoding
Move NB decoder along with required defines to EDAC MCE core. Add
registration routines for further decoding of the MCE info in the AMD64
EDAC module.
CC: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Diffstat (limited to 'drivers/edac/amd64_edac_dbg.c')
-rw-r--r-- | drivers/edac/amd64_edac_dbg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/amd64_edac_dbg.c b/drivers/edac/amd64_edac_dbg.c index bcb4e2eba3dc..59cf2cf6e11e 100644 --- a/drivers/edac/amd64_edac_dbg.c +++ b/drivers/edac/amd64_edac_dbg.c | |||
@@ -24,7 +24,7 @@ static ssize_t amd64_nbea_store(struct mem_ctl_info *mci, const char *data, | |||
24 | 24 | ||
25 | /* Process the Mapping request */ | 25 | /* Process the Mapping request */ |
26 | /* TODO: Add race prevention */ | 26 | /* TODO: Add race prevention */ |
27 | amd64_decode_nb_mce(mci, &pvt->ctl_error_info, 1); | 27 | amd_decode_nb_mce(pvt->mc_node_id, &pvt->ctl_error_info, 1); |
28 | 28 | ||
29 | return count; | 29 | return count; |
30 | } | 30 | } |