aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/traps.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/powerpc/kernel/traps.c b/arch/powerpc/kernel/traps.c
index d8502e377518..ccfc99dad061 100644
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -324,15 +324,6 @@ static inline int check_io_access(struct pt_regs *regs)
324#define clear_single_step(regs) ((regs)->msr &= ~MSR_SE) 324#define clear_single_step(regs) ((regs)->msr &= ~MSR_SE)
325#endif 325#endif
326 326
327/*
328 * This is "fall-back" implementation for configurations
329 * which don't provide platform-specific machine check info
330 */
331void __attribute__ ((weak))
332platform_machine_check(struct pt_regs *regs)
333{
334}
335
336void machine_check_exception(struct pt_regs *regs) 327void machine_check_exception(struct pt_regs *regs)
337{ 328{
338 int recover = 0; 329 int recover = 0;
@@ -480,12 +471,6 @@ void machine_check_exception(struct pt_regs *regs)
480 } 471 }
481#endif /* CONFIG_4xx */ 472#endif /* CONFIG_4xx */
482 473
483 /*
484 * Optional platform-provided routine to print out
485 * additional info, e.g. bus error registers.
486 */
487 platform_machine_check(regs);
488
489 if (debugger_fault_handler(regs)) 474 if (debugger_fault_handler(regs))
490 return; 475 return;
491 die("Machine check", regs, SIGBUS); 476 die("Machine check", regs, SIGBUS);