From: Steven Rostedt Date: Wed, 13 Nov 2013 20:20:04 +0000 (-0500) Subject: ftrace/x86: Load ftrace_ops in parameter not the variable holding it X-Git-Tag: v3.13~19^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1739f09e33d8f66bf48ddbc3eca615574da6c4f6;p=pandora-kernel.git ftrace/x86: Load ftrace_ops in parameter not the variable holding it Function tracing callbacks expect to have the ftrace_ops that registered it passed to them, not the address of the variable that holds the ftrace_ops that registered it. Use a mov instead of a lea to store the ftrace_ops into the parameter of the function tracing callback. Signed-off-by: Steven Rostedt Reviewed-by: Masami Hiramatsu Link: http://lkml.kernel.org/r/20131113152004.459787f9@gandalf.local.home Signed-off-by: H. Peter Anvin Cc: # v3.8+ --- Reading git-diff-tree failed