diff options
author | 2009-06-10 18:29:54 +0200 | |
---|---|---|
committer | 2009-06-26 13:06:40 +0200 | |
commit | 584fcff428bde3b9985ba21498764e9dba2fd3ce (patch) | |
tree | da1c6b2664b15071f06d121af0bf1157465533ac /arch/x86/mm/fault.c | |
parent | Linux 2.6.31-rc1 (diff) | |
download | linux-dev-584fcff428bde3b9985ba21498764e9dba2fd3ce.tar.xz linux-dev-584fcff428bde3b9985ba21498764e9dba2fd3ce.zip |
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 <borislav.petkov@amd.com>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions