]> git.baikalelectronics.ru Git - kernel.git/commit
i7core_edac: Fix ecc enable shift
authorKeith Mannthey <kmannth@us.ibm.com>
Thu, 3 Sep 2009 02:46:59 +0000 (23:46 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:44:56 +0000 (11:44 -0300)
commit333f94db520f4688abb6c536b315b53975688582
tree482b54f2dfbbb776ecc69b6ed3e54ba3d03cd219
parent90d3ef313a95546ce6b16a39f583683200c4baa0
i7core_edac: Fix ecc enable shift

From: Keith Mannthey <kmannth@us.ibm.com>

Simple correction to a shift value.
ECC_ENABLED is bit 4 of MC_STATUS, Dev 3 Fun 0 Offset 0x4c

This correctly identifies the state of the ECC at the machine.

Signed-off-by: Keith Mannthey <kmannth@us.ibm.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c