]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Dont enable interrupts during interrupt processing on iseries
authorAndrew Morton <akpm@osdl.org>
Mon, 15 Mar 2004 23:27:52 +0000 (15:27 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 15 Mar 2004 23:27:52 +0000 (15:27 -0800)
From: Stephen Rothwell <sfr@canb.auug.org.au>

Dont enable interrupts during interrupt processing on iseries

arch/ppc64/kernel/irq.c

index 4ca361c34c7a2389680f798ebc1a262330131334..29a66ad7dc5d0b47b15f95c704639415986e1e86 100644 (file)
@@ -374,8 +374,10 @@ static inline int handle_irq_event(int irq, struct pt_regs *regs,
        int status = 0;
        int retval = 0;
 
+#ifndef CONFIG_PPC_ISERIES
        if (!(action->flags & SA_INTERRUPT))
                local_irq_enable();
+#endif
 
        do {
                status |= action->flags;
@@ -384,7 +386,9 @@ static inline int handle_irq_event(int irq, struct pt_regs *regs,
        } while (action);
        if (status & SA_SAMPLE_RANDOM)
                add_interrupt_randomness(irq);
+#ifndef CONFIG_PPC_ISERIES
        local_irq_disable();
+#endif
        return retval;
 }