synchronize_irq (9) Linux Manual Page
synchronize_irq – wait for pending IRQ handlers (on other CPUs) Synopsis void synchronize_irq(unsigned int irq); Arguments irq interrupt number to wait for Description This function waits for any pending IRQ handlers for this interrupt to complete before returning. If you use this function while holding a resource the IRQ handler may need you will deadlock….
