amd64_edac: fix interleave enable tests
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 18 Sep 2009 10:27:27 +0000 (12:27 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 7 Oct 2009 14:48:08 +0000 (16:48 +0200)
commit72f158fe6fc2033ceb0f3e0e9e5c2aa356fed6da
tree96cbbab93865d2afd42688ba83a0f1b21c98a7d1
parent916d11b2b52430576fd4e96138c974cd64f9cfd6
amd64_edac: fix interleave enable tests

The pvt->dram_IntlvEn saves the 3 "Interleave Enable" bits already
right-shifted by 8 so the check in find_mc_by_sys_addr() by shifting the
values to the left 8 bits is wrong.

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