]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit071ac5114f527c843ad5d9149396859369603573
tree37ac989f065b4a5f73cafefb26685d6e9881702e
parent5e3734360135cf2f1355db98f405a264e06d39cd
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