]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: fix unlocking of hash
authorSteven Rostedt <rostedt@goodmis.org>
Sat, 6 Sep 2008 05:06:04 +0000 (01:06 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 14 Oct 2008 08:36:58 +0000 (10:36 +0200)
commitbf7c8d08098703602db6efaca4758edf0881a299
tree075c57f5fd43206d54e5debed0e738e1878d73aa
parent55cd13b221f0c147e02049e6562230d5c08c7cbb
ftrace: fix unlocking of hash

This must be brown paper bag week for Steven Rostedt!

While working on ftrace for PPC, I discovered that the hash locking done
when CONFIG_FTRACE_MCOUNT_RECORD is not set, is totally incorrect.

With a cut and paste error, I had the hash lock macro to lock for both
hash_lock _and_ hash_unlock!

This bug did not affect x86 since this bug was introduced when
CONFIG_FTRACE_MCOUNT_RECORD was added to x86.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/ftrace.c