commit | 655636bb5158c5304fabde723d5249e2cb9beebe | [log] [tgz] |
---|---|---|
author | Gaurav Kohli <gkohli@codeaurora.org> | Fri Jun 15 17:49:02 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Jul 03 00:16:02 2018 -0700 |
tree | 92b43acb9cdb5a185f3982837889f51c71ee3a41 | |
parent | 8f4c9de727b4c88e3639b321353c879161034486 [diff] |
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: Gaurav Kohli <gkohli@codeaurora.org>