commit | bf528a3a9bd11b6ae39684b18c9c0678f23924fd | [log] [tgz] |
---|---|---|
author | Steven Rostedt <rostedt@goodmis.org> | Wed Feb 11 15:01:18 2009 -0500 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Feb 23 10:48:54 2009 +1100 |
tree | 2d9b872ebb5484c9537e355ae7d0cbc1351afd92 | |
parent | bb7253403f7a4670a128e4c080fd8ea1bd4d5029 [diff] |
powerpc32, ftrace: save and restore mcount regs with macro Impact: clean up Use a macro to save and restore the registers for PowerPC32, since that code is duplicated. This is similar to the work done by Cyrill Gorcunov for the mcount code in x86_64. Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>