summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMohan Kumar M <mohan@in.ibm.com>2006-09-12 17:48:21 +0530
committerPaul Mackerras <paulus@samba.org>2006-09-13 18:31:23 +1000
commit2e8e8dacc566cc91cd8707cb092e76c7bbfab178 (patch)
treeccb14c4d73874782bef530877f3e0066284bce3f /arch
parentebf2ed283897b752daa743952aff43d78b725183 (diff)
downloadlwn-2e8e8dacc566cc91cd8707cb092e76c7bbfab178.tar.gz
lwn-2e8e8dacc566cc91cd8707cb092e76c7bbfab178.zip
[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')
-rw-r--r--arch/powerpc/kernel/crash.c2
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)
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);