]> git.baikalelectronics.ru Git - kernel.git/commit
amd64_edac: Rewrite unganged mode code of f10_early_channel_count
authorWan Wei <onewayforever@gmail.com>
Fri, 7 Aug 2009 15:04:49 +0000 (17:04 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 16 Sep 2009 10:42:55 +0000 (12:42 +0200)
commit8b2eac27a8ebcc9f66f0638f609eaea0b99dc4e2
treec1afba1d83b919e76dd63aca5855e369ae10db87
parent93e4d861db336ca5088639e03c54075dcd7971f0
amd64_edac: Rewrite unganged mode code of f10_early_channel_count

Simplify the procedure by checking if there is any DIMM in each channel.
This patch will fix the bugs such as when there is no DIMMs under
certain node, two DIMMs in the same channel, and only one DIMM in each
channel of the node.

Borislav: minor fixups

Signed-off-by: Wan Wei <wanwei@mail.dawning.com.cn>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c