summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-06-07 09:26:46 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-06-07 14:49:19 -0400
commita4f18ed11a4ddf327dd91cd19e237278600ad327 (patch)
treebbe96241c6db2be16e881920a3312ec937ed7cd1 /drivers
parent265a5b7ee3eb21a4d0e53e17d59ba6eada91af39 (diff)
downloadlinux-3.10-a4f18ed11a4ddf327dd91cd19e237278600ad327.tar.gz
linux-3.10-a4f18ed11a4ddf327dd91cd19e237278600ad327.tar.bz2
linux-3.10-a4f18ed11a4ddf327dd91cd19e237278600ad327.zip
ftrace: Revert 8ab2b7efd ftrace: Remove unnecessary disabling of irqs
Revert the commit that removed the disabling of interrupts around the initial modifying of mcount callers to nops, and update the comment. The original comment was outdated and stated that the interrupts were being disabled to prevent kstop machine, which was required with the old ftrace daemon, but was no longer the case. What the comment failed to mention was that interrupts needed to be disabled to keep interrupts from preempting the modifying of the code and then executing the code that was partially modified. Revert the commit and update the comment. Reported-by: Richard W.M. Jones <rjones@redhat.com> Tested-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions