Skip to content

Commit

Permalink
powerpc: Irq: Use generic_handle_irq
Browse files Browse the repository at this point in the history
No functional change

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: ppc <linuxppc-dev@lists.ozlabs.org>
Link: http://lkml.kernel.org/r/20140223212736.333718121@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed Mar 4, 2014
1 parent c866cda commit a4e04c9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions arch/powerpc/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ static inline void check_stack_overflow(void)

void __do_irq(struct pt_regs *regs)
{
struct irq_desc *desc;
unsigned int irq;

irq_enter();
Expand All @@ -487,11 +486,8 @@ void __do_irq(struct pt_regs *regs)
/* And finally process it */
if (unlikely(irq == NO_IRQ))
__get_cpu_var(irq_stat).spurious_irqs++;
else {
desc = irq_to_desc(irq);
if (likely(desc))
desc->handle_irq(irq, desc);
}
else
generic_handle_irq(irq);

trace_irq_exit(regs);

Expand Down

0 comments on commit a4e04c9

Please sign in to comment.