Prev: drm/i915: Add initial bits for VGA modesetting bringup on Sandybridge.
Next: [PATCH 2/6] swiotlb: add the swiotlb initialization function with iotlb memory
From: Maxim Uvarov on 11 May 2010 11:50 Best regards, Maxim Uvarov. From: Maxim Uvarov <muvarov(a)gmail.com> Signed-off-by: Maxim Uvarov <muvarov(a)gmail.com> --- arch/powerpc/kernel/crash.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c index 6f4613d..341d8af 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) for_each_irq(i) { struct irq_desc *desc = irq_to_desc(i); + if (!desc || !desc->chip || !desc->chip->eoi) + continue; + if (desc->status & IRQ_INPROGRESS) desc->chip->eoi(i); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |