]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
function-graph: use int instead of atomic for ftrace_graph_active
authorSteven Rostedt <srostedt@redhat.com>
Fri, 3 Apr 2009 19:24:12 +0000 (15:24 -0400)
committerIngo Molnar <mingo@elte.hu>
Tue, 7 Apr 2009 12:43:08 +0000 (14:43 +0200)
commit597af81537654097b67fd7a0c92775e66d4a86fe
treee258b2ce6e6027609a3aa488b697e189872d9cf7
parent5452af664f6fba26b80eb2c8c4ceae2999d5cf56
function-graph: use int instead of atomic for ftrace_graph_active

Impact: cleanup

The variable ftrace_graph_active is only modified under the
ftrace_lock mutex, thus an atomic is not necessary for modification.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ftrace.c