summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_output.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2014-09-17 11:07:04 +0400
committerMichael Ellerman <mpe@ellerman.id.au>2014-11-10 01:59:28 +0300
commitb3c18725a0eb7ea2458e9ae3b7e5a477f52e361f (patch)
treefaecb26b2ba42de9abe84471f02d8230f81a2b06 /kernel/trace/trace_output.c
parent7d56c65a6ff9065c459fc63c509950d8ea66e00c (diff)
downloadlinux-b3c18725a0eb7ea2458e9ae3b7e5a477f52e361f.tar.xz
powerpc/ftrace: simplify prepare_ftrace_return
Instead of passing in the stack address of the link register to be modified, just pass in the old value and return the new value and rely on ftrace_graph_caller to do the modification. This removes the exception handling around the stack update - it isn't needed and we weren't consistent about it. Later on we would do an unprotected modification: if (!ftrace_graph_entry(&trace)) { *parent = old; Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'kernel/trace/trace_output.c')
0 files changed, 0 insertions, 0 deletions