Commit fb9166c9 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Dont enable interrupts during interrupt processing on iseries

From: Stephen Rothwell <sfr@canb.auug.org.au>

Dont enable interrupts during interrupt processing on iseries
parent 6906cc82
...@@ -374,8 +374,10 @@ static inline int handle_irq_event(int irq, struct pt_regs *regs, ...@@ -374,8 +374,10 @@ static inline int handle_irq_event(int irq, struct pt_regs *regs,
int status = 0; int status = 0;
int retval = 0; int retval = 0;
#ifndef CONFIG_PPC_ISERIES
if (!(action->flags & SA_INTERRUPT)) if (!(action->flags & SA_INTERRUPT))
local_irq_enable(); local_irq_enable();
#endif
do { do {
status |= action->flags; status |= action->flags;
...@@ -384,7 +386,9 @@ static inline int handle_irq_event(int irq, struct pt_regs *regs, ...@@ -384,7 +386,9 @@ static inline int handle_irq_event(int irq, struct pt_regs *regs,
} while (action); } while (action);
if (status & SA_SAMPLE_RANDOM) if (status & SA_SAMPLE_RANDOM)
add_interrupt_randomness(irq); add_interrupt_randomness(irq);
#ifndef CONFIG_PPC_ISERIES
local_irq_disable(); local_irq_disable();
#endif
return retval; return retval;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment