diff options
author | Jiri Slaby <jslaby@suse.cz> | 2014-02-24 19:59:56 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-03-07 16:06:12 +0100 |
commit | 1dc43cf0be9a94a6a7273db284152db15c526106 (patch) | |
tree | 4db011bc7595eca752582950aabdcb2c7ca5d374 /arch/sparc/kernel/ftrace.c | |
parent | tracing: Evaluate len expression only once in __dynamic_array macro (diff) | |
download | linux-1dc43cf0be9a94a6a7273db284152db15c526106.tar.xz linux-1dc43cf0be9a94a6a7273db284152db15c526106.zip |
ftrace: Cleanup of global variables ftrace_new_pgs and ftrace_update_cnt
Some of them can be local to functions, so make them local and pass
them as parameters where needed:
* __start_mcount_loc+__stop_mcount_loc are local to ftrace_init
* ftrace_new_pgs -> new_pgs/start_pg
* ftrace_update_cnt -> local update_cnt in ftrace_update_code
Link: http://lkml.kernel.org/r/1393268401-24379-1-git-send-email-jslaby@suse.cz
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/sparc/kernel/ftrace.c')
0 files changed, 0 insertions, 0 deletions