Re: [PATCH v2] ftrace/x86: Load ftrace_ops in parameter not the variableholding it

From: H. Peter Anvin
Date: Wed Nov 13 2013 - 16:06:46 EST


On 11/13/2013 12:20 PM, Steven Rostedt wrote:
>
> 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 <rostedt@xxxxxxxxxxx>

This looks like an urgent fix, am I correct?

-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/