edac: ppc mpc85xx fix mc err detect
authorDave Jiang <djiang@mvista.com>
Tue, 21 Apr 2009 19:24:56 +0000 (12:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 21 Apr 2009 20:41:51 +0000 (13:41 -0700)
commit55e5750b3e979bac853c0809ad0ef75b7cebd18c
tree6cb6d0576a557b7559bf7230d692609de1763bbe
parentb298cecb3deddf76d60022473a57f1cb776cbdcd
edac: ppc mpc85xx fix mc err detect

Error found by Jeff Haran.

The error detect register is 0s when no errors are detected.  The check
code is incorrect, so reverse check sense.

Reported-by: Jeff Haran <jharan@Brocade.COM>
Signed-off-by: Dave Jiang <djiang@mvista.com>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/mpc85xx_edac.c