From: Keith Mannthey Date: Fri, 18 Sep 2009 12:35:23 +0000 (+0200) Subject: amd64_edac: simple fix to allow reporting of CECC errors X-Git-Tag: v2.6.32-rc4~34^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cff18c22cfaa88216a5d8c62ea64d1fb575c145;p=profile%2Fivi%2Fkernel-x86-ivi.git amd64_edac: simple fix to allow reporting of CECC errors This allows the errors to be further decoded and mapped to csrows. Tested with ECC debug dimms and an Rev F cpu based system. Signed-off-by: Keith Mannthey Signed-off-by: Borislav Petkov --- diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 2c869d1..ecc86c3 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -1190,7 +1190,7 @@ static void k8_map_sysaddr_to_csrow(struct mem_ctl_info *mci, * different from the node that detected the error. */ src_mci = find_mc_by_sys_addr(mci, SystemAddress); - if (src_mci) { + if (!src_mci) { amd64_mc_printk(mci, KERN_ERR, "failed to map error address 0x%lx to a node\n", (unsigned long)SystemAddress);