Skip to content

Commit

Permalink
Merge branch 'irq/for-mips' into irq/core
Browse files Browse the repository at this point in the history
Reason: irq/for-mips is provided for mips to make core independent
        progress. Merge it into irq/core to avoid conflicts

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Feb 10, 2011
2 parents 44951a6 + 986c011 commit 51327ad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion kernel/irq/manage.c
Original file line number Diff line number Diff line change
Expand Up @@ -957,9 +957,14 @@ __setup_irq(unsigned int irq, struct irq_desc *desc, struct irqaction *new)
*/
int setup_irq(unsigned int irq, struct irqaction *act)
{
int retval;
struct irq_desc *desc = irq_to_desc(irq);

return __setup_irq(irq, desc, act);
chip_bus_lock(desc);
retval = __setup_irq(irq, desc, act);
chip_bus_sync_unlock(desc);

return retval;
}
EXPORT_SYMBOL_GPL(setup_irq);

Expand Down

0 comments on commit 51327ad

Please sign in to comment.