From: Uros Bizjak Date: Thu, 19 Jul 2012 17:04:47 +0000 (-0400) Subject: ftrace/x86_32: Simplify parameter setup for ftrace_regs_caller X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~32^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4ea3f6b1bf3d489674a3660db652636e50186f9;p=pandora-kernel.git 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 Signed-off-by: Uros Bizjak Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed