powerpc/4xx: Move machine_check_4xx() into platforms/4xx
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Aug 2017 06:39:21 +0000 (16:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Aug 2017 13:31:30 +0000 (23:31 +1000)
commit0d0935b367b41394aae9d9ee45fb9a2317b8baf7
tree1ddc45f52e3c01e4a5b68e41f7200f3c99b0a831
parentbfa9a2eb925422b05b99c3b64a8f757025319f59
powerpc/4xx: Move machine_check_4xx() into platforms/4xx

Now that we have 4xx platform directory we can move the 4xx machine
check handler in there. Again we drop get_mc_reason() and replace it
with regs->dsisr directly (which is actually SPRN_ESR).

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/traps.c
arch/powerpc/platforms/4xx/Makefile
arch/powerpc/platforms/4xx/machine_check.c [new file with mode: 0644]