Re: [PATCH 07/19] ftrace/x86_32: Simplify parameter setup for ftrace_regs_caller

2012-07-22 Thread Masami Hiramatsu
(2012/07/21 11:19), Steven Rostedt wrote: > From: Uros Bizjak > > 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,

[PATCH 07/19] ftrace/x86_32: Simplify parameter setup for ftrace_regs_caller

2012-07-20 Thread Steven Rostedt
From: Uros Bizjak 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.ker