summaryrefslogtreecommitdiff
path: root/firmware/mts_edge.fw.ihex
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2012-03-02 10:36:57 -0500
committerClark Williams <williams@redhat.com>2012-03-02 11:52:34 -0600
commit908b82659598cb1e96abc5f28539a66dfd427643 (patch)
treed5f8298b73468444b1d50cedf6e9cf592ae1c0c9 /firmware/mts_edge.fw.ihex
parentcc605a8b6bdbbf4b9b54ced270126112cac375dc (diff)
cpu: Make hotplug.lock a "sleeping" spinlock on RT
Tasks can block on hotplug.lock in pin_current_cpu(), but their state might be != RUNNING. So the mutex wakeup will set the state unconditionally to RUNNING. That might cause spurious unexpected wakeups. We could provide a state preserving mutex_lock() function, but this is semantically backwards. So instead we convert the hotplug.lock() to a spinlock for RT, which has the state preserving semantics already. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Cc: Carsten Emde <C.Emde@osadl.org> Cc: John Kacur <jkacur@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Clark Williams <clark.williams@gmail.com> Cc: stable-rt@vger.kernel.org Link: http://lkml.kernel.org/r/1330702617.25686.265.camel@gandalf.stny.rr.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'firmware/mts_edge.fw.ihex')
0 files changed, 0 insertions, 0 deletions