summaryrefslogtreecommitdiffstats
path: root/kernel/time.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2013-11-13 15:20:04 -0500
committerH. Peter Anvin <hpa@linux.intel.com>2014-01-09 13:24:29 -0800
commit1739f09e33d8f66bf48ddbc3eca615574da6c4f6 (patch)
treecb6bbe381ad28a345d4a69565835bfb328fdba1c /kernel/time.c
parentd6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc (diff)
downloadop-kernel-dev-1739f09e33d8f66bf48ddbc3eca615574da6c4f6.zip
op-kernel-dev-1739f09e33d8f66bf48ddbc3eca615574da6c4f6.tar.gz
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 <rostedt@goodmis.org> Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Link: http://lkml.kernel.org/r/20131113152004.459787f9@gandalf.local.home Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Cc: <stable@vger.kernel.org> # v3.8+
Diffstat (limited to 'kernel/time.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud