powerpc: machine_check_generic is wrong on 64bit
authorAnton Blanchard <anton@samba.org>
Tue, 11 Jan 2011 19:52:31 +0000 (19:52 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:38 +0000 (14:08 +1100)
commitfbe754ca3a7579131ecec47c4fa10c40994b3804
treed64715112343204f8d360c0222f2919af88e454e
parent7f32c9c60089bfdb5eeeaae6e9f59046db998234
powerpc: machine_check_generic is wrong on 64bit

Decoding machine checks is CPU specific and so machine_check_generic doesn't
do the right thing on 64bit chips. Luckily we never call into this code
because we call ppc_md.machine_check_exception instead if available.

Since we check cur_cpu_spec->machine_check before calling it, we may as
well remove machine_check_generic from 64bit archs.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cputable.c