ring-buffer: add locks around rb_per_cpu_empty
authorSteven Rostedt <srostedt@redhat.com>
Wed, 17 Jun 2009 04:39:43 +0000 (00:39 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 17 Jun 2009 18:16:23 +0000 (14:16 -0400)
The checking of whether the buffer is empty or not needs to be serialized
among the readers. Add the reader spin lock around it.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found