From: Mauro Carvalho Chehab Date: Wed, 28 Mar 2012 22:37:59 +0000 (-0300) Subject: edac: Move grain/dtype/edac_type calculus to be out of channel loop X-Git-Tag: v3.6-rc1~62^2^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd63312dfe70b8279618b4d77dc951b6e309ffa2;p=pandora-kernel.git edac: Move grain/dtype/edac_type calculus to be out of channel loop The 3e7bddc changeset (edac: move dimm properties to struct memset_info) moved the calculus inside a loop. However, at those stuff are common to all channels, on several drivers, it is better to put the calculus outside the loop, to optimize the code. Reported-by: Aristeu Rozanski Filho Reviewed-by: Aristeu Rozanski Cc: Mark Gross Cc: Doug Thompson Cc: Dmitry Eremin-Solenikov Cc: Benjamin Herrenschmidt Cc: Michal Marek Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed