lkml.org 
[lkml]   [2014]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] ftrace/x86: Load ftrace_ops in parameter not the variable holding it
On Wed, 13 Nov 2013 13:06:33 -0800
"H. Peter Anvin" <hpa@linux.intel.com> wrote:

> 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@goodmis.org>
>
> This looks like an urgent fix, am I correct?

Hi Peter, I think this patch got missed somehow. Can you pull it in.
You can also add Masami's reviewed-by tag too.

Also add the following tags:

Cc: stable@vger.kernel.org # 3.8+
Fixes: 2f5f6ad9390c1 ("ftrace: Pass ftrace_ops as third parameter to
function trace callback")

Thanks!

-- Steve


\
 
 \ /
  Last update: 2014-01-07 20:41    [W:0.729 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site