Skip to content

Commit

Permalink
[POWERPC] Fix interrupt clearing in kdump shutdown sequence
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mohan Kumar M authored and Paul Mackerras committed Sep 13, 2006
1 parent ebf2ed2 commit 2e8e8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/crash.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2e8e8da

Please sign in to comment.