Wait for pending irq handlers (on other cpus)
void synchronize_irq(unsigned int irq);
irq
interrupt number to wait for
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.
This function may be called - with care - from IRQ context.