diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2012-07-19 21:04:47 +0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-07-31 18:29:34 +0400 |
commit | e4ea3f6b1bf3d489674a3660db652636e50186f9 (patch) | |
tree | 87ac8c2d28fc1b4394eb7aedd937a96dd2de7abf /include/linux/ftrace.h | |
parent | 4de72395ff4cf48e23b61986dbc90b99a7c4ed97 (diff) | |
download | linux-e4ea3f6b1bf3d489674a3660db652636e50186f9.tar.xz |
ftrace/x86_32: Simplify parameter setup for ftrace_regs_caller
The final position of the stack after saving regs and setting up
the parameters for ftrace_regs_call, is the position of the pt_regs
needed for the 4th parameter. Instead of saving it into a temporary
reg and pushing the reg, simply push the stack pointer.
Link: http://lkml.kernel.org/r/1342702344.12353.16.camel@gandalf.stny.rr.com
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace.h')
0 files changed, 0 insertions, 0 deletions