powerpc/44x: Fix 460EX/460GT machine check handling
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 11 Nov 2008 16:02:43 +0000 (16:02 +0000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 13 Nov 2008 15:11:26 +0000 (10:11 -0500)
commit6612d9b0b8208c2ade3a16b8302a271ec81d45f6
tree8c5ae9d31853b147fe90ac8df8e48ca215e38061
parent5907630ffc2b2d133de2db18963ee5a6c5af7878
powerpc/44x: Fix 460EX/460GT machine check handling

Those cores use 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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/kernel/cpu_setup_44x.S