amd64_edac: Correct node interleaving removal
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 13 Jan 2011 13:57:34 +0000 (14:57 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 17 Mar 2011 13:46:20 +0000 (14:46 +0100)
When node interleaving is enabled, a subset of the addr[14:12] bits has
to be removed in order to get the normalized DCT address of the DRAM
channel. The actual number of bits to remove is determined by F1x[1,
0][7C:40][IntlvEn]. Do this correctly.

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

Simple merge