From: Hui Wang Date: Mon, 6 Feb 2012 07:11:00 +0000 (-0300) Subject: edac: sb_edac: Fix a INTERLEAVE_MODE() misuse X-Git-Tag: v3.4-rc1~62^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad9c40b7dd749d6429c8b21178c125004c6dc75d;p=pandora-kernel.git edac: sb_edac: Fix a INTERLEAVE_MODE() misuse We can identify dram interleave mode from the Dram Rule register rather than Dram Interleave list register. In this context, the reg of INTERLEAVE_MODE(reg) contains the Dram Interleave list register, we can't get interleave mode from the reg, while the variable interleave_mode saves the the mode got from the Dram Rule register, so we use the variable to replace INTERLEAVE_MDDE(reg) here. Signed-off-by: Hui Wang Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed