summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-08-16 09:53:39 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-12-21 07:16:58 -0500
commitc88fd8634ea68e74c7d19fd2621b4078fd22864c (patch)
tree9d8bbc57d20eec9869a9655ff79cc1c4d6359b88 /Makefile
parent45959ee7aa645815a5ce303a0ea1e48a21e67c6a (diff)
downloadlinux-c88fd8634ea68e74c7d19fd2621b4078fd22864c.tar.gz
linux-c88fd8634ea68e74c7d19fd2621b4078fd22864c.tar.bz2
linux-c88fd8634ea68e74c7d19fd2621b4078fd22864c.zip
ftrace: Allow archs to modify code without stop machine
The stop machine method to modify all functions in the kernel (some 20,000 of them) is the safest way to do so across all archs. But some archs may not need this big hammer approach to modify code on SMP machines, and can simply just update the code it needs. Adding a weak function arch_ftrace_update_code() that now does the stop machine, will also let any arch override this method. If the arch needs to check the system and then decide if it can avoid stop machine, it can still call ftrace_run_stop_machine() to use the old method. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions