]> asedeno.scripts.mit.edu Git - linux.git/commit
sparc64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 7 Dec 2018 17:51:27 +0000 (12:51 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 22 Dec 2018 13:21:02 +0000 (08:21 -0500)
commit945626db0961d8388543b2c96b6f16df57947392
tree71ea05f93146e0eab58068e071ea786bd12b80c9
parent0fad8bfef7b08a68507178f8e278d013b60ff966
sparc64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack

The structure of the ret_stack array on the task struct is going to
change, and accessing it directly via the curr_ret_stack index will no
longer give the ret_stack entry that holds the return address. To access
that, architectures must now use ftrace_graph_get_ret_stack() to get the
associated ret_stack that matches the saved return address.

Cc: sparclinux@vger.kernel.org
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
arch/sparc/kernel/perf_event.c
arch/sparc/kernel/stacktrace.c
arch/sparc/kernel/traps_64.c