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 <email@example.com>
Reviewed-by: Masami Hiramatsu <firstname.lastname@example.org>
Signed-off-by: H. Peter Anvin <email@example.com>
Cc: <firstname.lastname@example.org> # v3.8+
2 files changed