aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/crash.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/crash.c')
-rw-r--r--arch/powerpc/kernel/crash.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c
index 6f4613dd05ef..341d8af6f33e 100644
--- a/arch/powerpc/kernel/crash.c
+++ b/arch/powerpc/kernel/crash.c
@@ -375,6 +375,9 @@ void default_machine_crash_shutdown(struct pt_regs *regs)
375 for_each_irq(i) { 375 for_each_irq(i) {
376 struct irq_desc *desc = irq_to_desc(i); 376 struct irq_desc *desc = irq_to_desc(i);
377 377
378 if (!desc || !desc->chip || !desc->chip->eoi)
379 continue;
380
378 if (desc->status & IRQ_INPROGRESS) 381 if (desc->status & IRQ_INPROGRESS)
379 desc->chip->eoi(i); 382 desc->chip->eoi(i);
380 383