]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace: Make ftrace_modify_all_code() global for archs to use
authorSteven Rostedt <srostedt@redhat.com>
Thu, 26 Apr 2012 18:59:43 +0000 (14:59 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 17 May 2012 00:00:26 +0000 (20:00 -0400)
commit1eff5782a87656829d77b0f01f977ea54d1befbc
tree7460935d25c77dc13ef887dc664fd7529886665e
parentc9d1a7a20fdc43e9f1c47cabbc0719a13ace2c53
ftrace: Make ftrace_modify_all_code() global for archs to use

Rename __ftrace_modify_code() to ftrace_modify_all_code() and make
it global for all archs to use. This will remove the duplication
of code, as archs that can modify code without stop_machine()
can use it directly outside of the stop_machine() call.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
include/linux/ftrace.h
kernel/trace/ftrace.c