]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd06f885c8c712cf5c6f58423fe44770475e128a6
tree1ddc45f52e3c01e4a5b68e41f7200f3c99b0a831
parent61ab6007c96a7ecb9dd37692c1e4f74cc342c003
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]