amd64_edac: fix K8 intlv_sel check
authorBorislav Petkov <borislav.petkov@amd.com>
Fri, 18 Sep 2009 10:39:19 +0000 (12:39 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 7 Oct 2009 14:49:43 +0000 (16:49 +0200)
commit8edc5445895dbcf050d6e8ac5488f70a3937753a
tree37ac989f065b4a5f73cafefb26685d6e9881702e
parent72f158fe6fc2033ceb0f3e0e9e5c2aa356fed6da
amd64_edac: fix K8 intlv_sel check

The check when DRAM interleaving is enabled should be done against the
pvt->dram_IntlvSel field and not against the ->dram_limit.

Simplify first loop and fixup printk formatting while at it.

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