mirror of https://gitee.com/openkylin/linux.git
[POWERPC] Fix interrupt clearing in kdump shutdown sequence
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>
This commit is contained in:
parent
ebf2ed2838
commit
2e8e8dacc5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue