/* * Clear an interrupt before processing it so that any new assertions * will trigger another irq. */ static void tile_irq_chip_ack(struct irq_data *d) { if ((unsigned long)irq_data_get_irq_chip_data(d) != IS_HW_CLEARED) clear_irqs(1UL << d->irq); }
/* * Clear an interrupt before processing it so that any new assertions * will trigger another irq. */ static void tile_irq_chip_ack(unsigned int irq) { if ((unsigned long)get_irq_chip_data(irq) != IS_HW_CLEARED) clear_irqs(1UL << irq); }