ftrace: Remove unnecessary disabling of irqs
authorSteven Rostedt <srostedt@redhat.com>
Fri, 22 Apr 2011 02:41:35 +0000 (22:41 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 30 Apr 2011 02:52:55 +0000 (22:52 -0400)
commit8ab2b7efd3e2ccf2c2dda3206b8171ecdbd0af40
tree69b3bbcdbbe7deecf3910ee28ee62e07c004a2ea
parent0778d9ad33898faab7bf6316108b471790376e35
ftrace: Remove unnecessary disabling of irqs

The disabling of interrupts around ftrace_update_code() was used
to protect against the evil ftrace daemon from years past. But that
daemon has long been killed. It is safe to keep interrupts enabled
while updating the initial mcount into nops.

The ftrace_mutex is also held which keeps other users at bay.

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