amd64_edac: Carve out ECC-related hw settings
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 14 Oct 2010 14:01:30 +0000 (16:01 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Fri, 7 Jan 2011 10:34:00 +0000 (11:34 +0100)
commitae7bb7c679e7ddba6c52d1a78a30f9bc868d9738
treedccc3bdf93c8746a77d84ecb20b103ddab722e64
parentf1db274e1ba7004909de4a9cee62f631c030ba3e
amd64_edac: Carve out ECC-related hw settings

This is in preparation for the init path reorganization where we want
only to

1) test whether a particular node supports ECC
2) can it be enabled

and only then do the necessary allocation/initialization. For that,
we need to decouple the ECC settings of the node from the instance's
descriptor.

The should be no functional change introduced by this patch.

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