android_kernel_xiaomi_sm7250/arch/sparc
Steven Rostedt (VMware) 34773b2f57 sparc/function_graph: Simplify with function_graph_enter()
commit 9c4bf5e0db164f330a2d3e128e9832661f69f0e9 upstream.

The function_graph_enter() function does the work of calling the function
graph hook function and the management of the shadow stack, simplifying the
work done in the architecture dependent prepare_ftrace_return().

Have sparc use the new code, and remove the shadow stack management as well as
having to set up the trace structure.

This is needed to prepare for a fix of a design bug on how the curr_ret_stack
is used.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Cc: stable@kernel.org
Fixes: 03274a3ffb ("tracing/fgraph: Adjust fgraph depth before calling trace return callback")
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-12-05 19:32:10 +01:00
..
boot
configs
crypto
include sparc64: Make corrupted user stacks more debuggable. 2018-11-04 14:50:54 +01:00
kernel sparc/function_graph: Simplify with function_graph_enter() 2018-12-05 19:32:10 +01:00
lib
math-emu
mm sparc64: Export __node_distance. 2018-11-04 14:50:53 +01:00
net
oprofile
power
prom
vdso sparc: vDSO: Silence an uninitialized variable warning 2018-10-17 21:55:02 -07:00
Kbuild
Kconfig sparc32: switch to NO_BOOTMEM 2018-08-21 12:40:26 -07:00
Kconfig.debug
Makefile Kbuild updates for v4.19 (2nd) 2018-08-25 13:40:38 -07:00