EDAC, AMD: carve out MCi_STATUS decoding
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 27 Jul 2009 14:21:14 +0000 (16:21 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Mon, 14 Sep 2009 17:01:07 +0000 (19:01 +0200)
commitb69b29de65fe4078b125acc9dea34be82f7c362c
tree89c4369f9b04e2200e1ef83ed6497fcf150d2d8b
parent549d042df240dfb4203bab40ad44f9336751b7d6
EDAC, AMD: carve out MCi_STATUS decoding

The MCi_STATUS registers have most field definitions in common so decode
them in the general path. Do not pass ecc_type along and compute it in
__amd64_decode_bus_error instead.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/edac_mce_amd.c
drivers/edac/edac_mce_amd.h