diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-10-03 17:21:53 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-10-11 15:03:50 -0400 |
commit | 065fa3c63f2b86c67125e32872fe9f2b59b30ec3 (patch) | |
tree | 635e91336c3ad5954286d97a0d96d44059888808 /drivers/rtc/rtc-wm831x.c | |
parent | 5b5bf4e076d43602cd417aa74cd06041feab885c (diff) | |
download | linux-rt-065fa3c63f2b86c67125e32872fe9f2b59b30ec3.tar.gz |
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
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/rtc/rtc-wm831x.c')
0 files changed, 0 insertions, 0 deletions