ftrace: Have ftrace_startup() return failure code
authorSteven Rostedt <srostedt@redhat.com>
Mon, 23 May 2011 19:24:25 +0000 (15:24 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 26 May 2011 02:13:37 +0000 (22:13 -0400)
The register_ftrace_function() returns an error code on failure
except if the call to ftrace_startup() fails. Add a error return to
ftrace_startup() if it fails to start, allowing register_ftrace_funtion()
to return a proper error value.

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

No differences found