From: Borislav Petkov Date: Wed, 10 Jun 2009 16:29:54 +0000 (+0200) Subject: amd64_edac: check only ECC bit in amd64_determine_edac_cap X-Git-Tag: v2.6.31-rc2~80^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=584fcff428bde3b9985ba21498764e9dba2fd3ce;p=pandora-kernel.git amd64_edac: check only ECC bit in amd64_determine_edac_cap Checking whether the machine is using ECC enabled DRAM is done through testing the DimmEccEn bit in the DRAM Cfg Low register (F2x[1,0]90). Do that instead of testing all bits from the DimmEccEn upwards. Also, remove mci->edac_cap assignment and use value returned from amd64_determine_edac_cap(). Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed