[POWERPC] Fix interrupt clearing in kdump shutdown sequence
authorMohan Kumar M <mohan@in.ibm.com>
Tue, 12 Sep 2006 12:18:21 +0000 (17:48 +0530)
committerPaul Mackerras <paulus@samba.org>
Wed, 13 Sep 2006 08:31:23 +0000 (18:31 +1000)
Call chip->eoi(irq) to clear any pending interrupt in case of kdump
shutdown sequence.  chip->end(irq) does not serve this purpose.

Signed-off-by: Mohan Kumar M <mohan@in.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/crash.c

index f04c18e..1af41f7 100644 (file)
@@ -295,7 +295,7 @@ void default_machine_crash_shutdown(struct pt_regs *regs)
                struct irq_desc *desc = irq_desc + irq;
 
                if (desc->status & IRQ_INPROGRESS)
-                       desc->chip->end(irq);
+                       desc->chip->eoi(irq);
 
                if (!(desc->status & IRQ_DISABLED))
                        desc->chip->disable(irq);