cpc925_edac: Support single-processor configurations
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Fri, 17 Jun 2011 02:51:47 +0000 (02:51 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 1 Sep 2011 06:00:18 +0000 (16:00 +1000)
commitce395088832bfd56bd28824b31a6a3685f3fd339
tree9722b76bb97fa5ed5f06cd69f2b9e7d2ca33484c
parent7bfb40b048aa709bb88a00a1acbadbd9f7a645ee
cpc925_edac: Support single-processor configurations

If second CPU is not enabled, CPC925 EDAC driver will spill out warnings
about errors on second Processor Interface. Support masking that out,
by detecting at runtime which CPUs are present in device tree.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: Harry Ciao <qingtao.cao@windriver.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/edac/cpc925_edac.c