Remove the obsolete desc_handle_irq() helper. Signed-off-by: Thomas Gleixner --- arch/arm/include/asm/hw_irq.h | 8 -------- arch/arm/mach-dove/irq.c | 5 ++--- 2 files changed, 2 insertions(+), 11 deletions(-) Index: linux-2.6-tip/arch/arm/include/asm/hw_irq.h =================================================================== --- linux-2.6-tip.orig/arch/arm/include/asm/hw_irq.h +++ linux-2.6-tip/arch/arm/include/asm/hw_irq.h @@ -10,14 +10,6 @@ static inline void ack_bad_irq(int irq) irq_err_count++; } -/* - * Obsolete inline function for calling irq descriptor handlers. - */ -static inline void desc_handle_irq(unsigned int irq, struct irq_desc *desc) -{ - desc->handle_irq(irq, desc); -} - void set_irq_flags(unsigned int irq, unsigned int flags); #define IRQF_VALID (1 << 0) Index: linux-2.6-tip/arch/arm/mach-dove/irq.c =================================================================== --- linux-2.6-tip.orig/arch/arm/mach-dove/irq.c +++ linux-2.6-tip/arch/arm/mach-dove/irq.c @@ -86,8 +86,7 @@ static void pmu_irq_handler(unsigned int if (!(cause & (1 << irq))) continue; irq = pmu_to_irq(irq); - desc = irq_desc + irq; - desc_handle_irq(irq, desc); + generic_handle_irq(irq); } } @@ -124,7 +123,7 @@ void __init dove_init_irq(void) for (i = IRQ_DOVE_PMU_START; i < NR_IRQS; i++) { set_irq_chip(i, &pmu_irq_chip); set_irq_handler(i, handle_level_irq); - irq_desc[i].status |= IRQ_LEVEL; + irq_set_status_flags(i, IRQ_LEVEL); set_irq_flags(i, IRQF_VALID); } set_irq_chained_handler(IRQ_DOVE_PMU, pmu_irq_handler); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/