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:
parent
5d1ef2f0ad
commit
425dc84103
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue