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)
commit8ed3e2cfe40ffe43630fd8efa34fc97c95b4c298
tree7460935d25c77dc13ef887dc664fd7529886665e
parentf0cf973a224a3e3c1dec3395af3ba01cf14b1ff4
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