summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-scan.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2012-03-01 13:55:32 -0500
committerClark Williams <williams@redhat.com>2012-04-10 16:41:05 -0500
commitc4566dbc941cc5cc8ed7607281fb2f2201325d0d (patch)
tree4f72bdcde766df17ba3427f690c7c2246f695611 /lib/mpi/mpi-scan.c
parent7c676452d4de3e8fc69aaa5f4eca193c403e1eef (diff)
ring-buffer/rt: Check for irqs disabled before grabbing reader lock
In RT the reader lock is a mutex and we can not grab it when preemption is disabled. The in_atomic() check that is there does not check if irqs are disabled. Add that check as well. 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/20120301190345.786365803@goodmis.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'lib/mpi/mpi-scan.c')
0 files changed, 0 insertions, 0 deletions