summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-10-03 16:21:53 (GMT)
committerScott Wood <scottwood@freescale.com>2015-02-13 22:20:34 (GMT)
commit66158a8101ec0462d76d8d12f260d008481cda2a (patch)
tree028fe7ec34a54eefb457aa516d501f406d7d5b65 /include
parent3f5b6f622ef80a7eca0a1ccf4f3ee0222047ef0a (diff)
downloadlinux-fsl-qoriq-66158a8101ec0462d76d8d12f260d008481cda2a.tar.xz
stomp_machine: Use mutex_trylock when called from inactive cpu
If the stop machinery is called from inactive CPU we cannot use mutex_lock, because some other stomp machine invokation might be in progress and the mutex can be contended. We cannot schedule from this context, so trylock and loop. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable-rt@vger.kernel.org
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions