amd64_edac: Cleanup NBCFG handling
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 23 Dec 2010 13:07:18 +0000 (14:07 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 17 Mar 2011 13:46:16 +0000 (14:46 +0100)
commita97fa68ec403e2761a37b28651de8fd9da8c5e1f
tree3f9e70f80e4cbe15f603547e2360438a41179cbe
parentc9f4f26eae096c39547139666e8af607c2447f94
amd64_edac: Cleanup NBCFG handling

The fact whether we are chipkill capable or not does not have any
bearing when computing the channel index on a ganged DCT configuration
so remove that. Also, simplify debug statements. Finally, remove old
error injection leftovers, while at it.

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