Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 655636bb authored by Gaurav Kohli's avatar Gaurav Kohli Committed by Gerrit - the friendly Code Review server
Browse files

kthread/smpboot: Disable irq while setting smpboot thread as running



While setting smpboot thread state as running, there is possibility
of irq may fire at same core and wake up the smpboot thread of same 
core which create self deadlock. To avoid that, protect the
same with spin_lock_irqsave.

Change-Id: I5eca9b27af94fee22af3bb201f26b63ed8930efe
Signed-off-by: default avatarGaurav Kohli <gkohli@codeaurora.org>
parent 8f4c9de7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment