diff options
author | Mohan Kumar M <mohan@in.ibm.com> | 2006-09-12 08:18:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-09-13 04:31:23 -0400 |
commit | 2e8e8dacc566cc91cd8707cb092e76c7bbfab178 (patch) | |
tree | ccb14c4d73874782bef530877f3e0066284bce3f /arch/powerpc/kernel | |
parent | ebf2ed283897b752daa743952aff43d78b725183 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r-- | arch/powerpc/kernel/crash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c index f04c18e08b8b..1af41f7616dc 100644 --- a/arch/powerpc/kernel/crash.c +++ b/arch/powerpc/kernel/crash.c | |||
@@ -295,7 +295,7 @@ void default_machine_crash_shutdown(struct pt_regs *regs) | |||
295 | struct irq_desc *desc = irq_desc + irq; | 295 | struct irq_desc *desc = irq_desc + irq; |
296 | 296 | ||
297 | if (desc->status & IRQ_INPROGRESS) | 297 | if (desc->status & IRQ_INPROGRESS) |
298 | desc->chip->end(irq); | 298 | desc->chip->eoi(irq); |
299 | 299 | ||
300 | if (!(desc->status & IRQ_DISABLED)) | 300 | if (!(desc->status & IRQ_DISABLED)) |
301 | desc->chip->disable(irq); | 301 | desc->chip->disable(irq); |