amd64_edac: add ECC reporting initializers
authorDoug Thompson <dougthompson@xmission.com>
Mon, 27 Apr 2009 17:46:08 +0000 (19:46 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 10 Jun 2009 10:19:01 +0000 (12:19 +0200)
commitf9431992b6227069bc54800d55531c6f78d276a7
treed9b210e69b8d80308d7a512f047e598babf30084
parent0ec449ee95b20245fef4aa9fa2486456f1540514
amd64_edac: add ECC reporting initializers

Borislav:
- convert to the new {rd|wr}msr_on_cpus interfaces.
- convert pvt->old_mcgctl to a bitmask thus saving some bytes
- fix/cleanup comments
- fix function return value patterns
- add a proper bugfix found by Doug to amd64_check_ecc_enabled where we
  missed checking for the ECC enabled bit in NB CFG.
- cleanup debug calls

Reviewed-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h