From: Jiri Slaby Date: Mon, 24 Feb 2014 18:59:56 +0000 (+0100) Subject: ftrace: Cleanup of global variables ftrace_new_pgs and ftrace_update_cnt X-Git-Tag: v3.15-rc1~110^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc43cf0be9a94a6a7273db284152db15c526106;p=pandora-kernel.git 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 Cc: Frederic Weisbecker Cc: Ingo Molnar Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed