kernel-fxtec-pro1x/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 crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
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 atomics/treewide: Rename __atomic_add_unless() => atomic_fetch_add_unless() 2018-06-21 14:22:32 +02:00
math-emu
mm sparc64: Export __node_distance. 2018-11-04 14:50:53 +01:00
net treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
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 Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Makefile Kbuild updates for v4.19 (2nd) 2018-08-25 13:40:38 -07:00