]> git.baikalelectronics.ru Git - kernel.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)
commit37e9f3502bf83b0197916b59873852a3d75c5a0b
tree71ea05f93146e0eab58068e071ea786bd12b80c9
parent5664fe9c32f22e327e788b7a5e386666cd141bfe
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