ftrace/x86: Get rid of ftrace_caller_setup
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Tue, 25 Nov 2014 02:38:40 +0000 (21:38 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 1 Dec 2014 19:08:43 +0000 (14:08 -0500)
commitf1ab00af816ec8e1ad53229963c863fdd6bcf222
tree91ef3763b2403fd33f88b0e5306dbda4458f1970
parent0687c36e456ca81feff5f3415e53c1cb8d8efd56
ftrace/x86: Get rid of ftrace_caller_setup

Move all the work from ftrace_caller_setup into save_mcount_regs. This
simplifies the code and makes it easier to understand.

Link: http://lkml.kernel.org/r/CA+55aFxUTUbdxpjVMW8X9c=o8sui7OB_MYPfcbJuDyfUWtNrNg@mail.gmail.com
Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1411262304010.3961@nanos
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/mcount_64.S