summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/44x/Makefile
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2017-08-08 16:39:19 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-08-10 23:31:24 +1000
commit5b4e28577b16941ec24ec07611642ddae62f1870 (patch)
tree621d5688113c5a9ced679f8857a6c5362505263e /arch/powerpc/platforms/44x/Makefile
parent8ab8fc688ac6ecbbc49ec05589f032830be7761c (diff)
powerpc/44x: Move 44x machine check handlers into platforms/44x
We have several 44x machine check handlers defined in traps.c. It would be preferable if they were split out with the platforms that use them. Do that. In the process, drop get_mc_reason() and instead just open code the lookup of reason from regs->dsisr. This avoids a pointless layer of abstraction. We know to use regs->dsisr because 44x enables BOOKE which enables PPC_ADV_DEBUG_REGS, and FSL_BOOKE is not enabled on 44x builds. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/44x/Makefile')
-rw-r--r--arch/powerpc/platforms/44x/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/44x/Makefile b/arch/powerpc/platforms/44x/Makefile
index 71a7fccef675..2c5651992369 100644
--- a/arch/powerpc/platforms/44x/Makefile
+++ b/arch/powerpc/platforms/44x/Makefile
@@ -1,4 +1,4 @@
-obj-y += misc_44x.o
+obj-y += misc_44x.o machine_check.o
ifneq ($(CONFIG_PPC4xx_CPM),y)
obj-y += idle.o
endif