Anton Blanchard b3c18725a0 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>
2014-11-10 09:59:28 +11:00
..
2014-04-18 14:20:41 +02:00
2014-11-03 12:12:32 +11:00
2014-08-13 15:13:42 +10:00
2014-09-25 23:14:46 +10:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-09-25 23:14:41 +10:00
2014-08-06 13:04:32 +02:00
2014-08-06 13:04:32 +02:00
2014-08-06 13:04:32 +02:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00
2014-11-03 12:12:32 +11:00