ftrace: Have static function trace clear ENABLED flag on unregister
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 19 Feb 2014 20:12:18 +0000 (15:12 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Thu, 20 Feb 2014 17:32:55 +0000 (12:32 -0500)
The ENABLED flag needs to be cleared when a ftrace_ops is unregistered
otherwise it wont be able to be registered again.

This is only for static tracing and does not affect DYNAMIC_FTRACE at
all.

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

Simple merge