genirq: Use interruptible wait

Allow this task to be preempted in order to reduce latency.

Signed-off-by: kyvangka1610 <kyvangka2002@gmail.com>
This commit is contained in:
Tyler Nijmeh 2021-12-18 17:31:15 +00:00 committed by Ksawlii
parent 5d1ef2f0ad
commit 425dc84103

View file

@ -137,7 +137,7 @@ void synchronize_irq(unsigned int irq)
* running. Now verify that no threaded handlers are
* active.
*/
wait_event(desc->wait_for_threads,
wait_event_interruptible(desc->wait_for_threads,
!atomic_read(&desc->threads_active));
secdbg_base_built_set_task_in_sync_irq(NULL, 0, NULL);
}