diff options
author | Jiri Slaby <[email protected]> | 2014-02-24 19:59:56 +0100 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-03-07 10:06:12 -0500 |
commit | 1dc43cf0be9a94a6a7273db284152db15c526106 (patch) | |
tree | 4db011bc7595eca752582950aabdcb2c7ca5d374 /lib/mpi/mpi-cmp.c | |
parent | 114e7b52dee69ce47dd55b8e520e0a48ba7cdae3 (diff) |
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/[email protected]
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions