]> git.baikalelectronics.ru Git - kernel.git/commit
ftrace/x86: Add macro MCOUNT_REG_SIZE for amount of stack used to save mcount regs
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Mon, 24 Nov 2014 19:26:38 +0000 (14:26 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 1 Dec 2014 19:08:15 +0000 (14:08 -0500)
commitb0a5f7d5db6b22630fe1e30a4871f01fe139d3f4
tree6d01938fa3d053a5921464d9954c7aa1cca52e68
parent4268853f7617b93ce7d47cde425a9907ca2abd83
ftrace/x86: Add macro MCOUNT_REG_SIZE for amount of stack used to save mcount regs

The macro save_mcount_regs saves regs onto the stack. But to uncouple the
amount of stack used in that macro from the users of the macro, we need
to have a define that tells all the users how much stack is used by that
macro. This way we can change the amount of stack the macro uses without
breaking its users.

Also remove some dead code that was left over from commit e253b38c1262
"ftrace: x86: Remove check of obsolete variable function_trace_stop".

Link: http://lkml.kernel.org/r/alpine.DEB.2.11.1411262304010.3961@nanos
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
arch/x86/kernel/mcount_64.S