ftrace/x86: Have x86 ftrace use the ftrace_modify_all_code()
authorSteven Rostedt <srostedt@redhat.com>
Fri, 27 Apr 2012 13:13:18 +0000 (09:13 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 17 May 2012 00:00:27 +0000 (20:00 -0400)
To remove duplicate code, have the ftrace arch_ftrace_update_code()
use the generic ftrace_modify_all_code(). This requires that the
default ftrace_replace_code() becomes a weak function so that an
arch may override it.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

No differences found