powerpc/virtex5: Fix Virtex5 machine check handling
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 4 Dec 2008 05:39:55 +0000 (05:39 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 13 Dec 2008 23:29:34 +0000 (15:29 -0800)
commit1d3bac578875da221abaabc7beba5f1d4f316acb
treea5ebfa3ef2c03172ee13d8cf3f100424fb63ecbb
parent0501da32b55823305835b43af5a8eb8c48e8406b
powerpc/virtex5: Fix Virtex5 machine check handling

commit 640d17d60e83401e10e66a0ab6e9e2d6350df656 upstream.

The 440x5 core in the Virtex5 uses the 440A type machine check
(ie, they have MCSRR0/MCSRR1). They thus need to call the
appropriate fixup function to hook the right variant of the
exception.

Without this, all machine checks become fatal due to loss
of context when entering the exception handler.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/powerpc/kernel/cpu_setup_44x.S
arch/powerpc/kernel/cputable.c