diff options
author | 2008-11-12 00:01:26 -0500 | |
---|---|---|
committer | 2008-11-12 11:25:04 +0100 | |
commit | 642edba5f5c545772b89907cf96134c73d6073c7 (patch) | |
tree | fe035c062474bb3163a15e3b490e2c6c5f612407 /include/linux/stacktrace.h | |
parent | Merge branches 'tracing/ftrace' and 'tracing/urgent' into tracing/core (diff) | |
download | linux-rng-642edba5f5c545772b89907cf96134c73d6073c7.tar.xz linux-rng-642edba5f5c545772b89907cf96134c73d6073c7.zip |
ring-buffer: fix deadlock from reader_lock in read_start
Impact: deadlock fix in ring_buffer_read_start
The ring_buffer_iter_reset was called from ring_buffer_read_start
where both grabbed the reader_lock.
This patch separates out the internals of ring_buffer_iter_reset
to its own function so that both APIs may grab the reader_lock.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions