kernel-fxtec-pro1x/arch/sh/kernel
Steven Rostedt (VMware) 56c1dd92c0 sh/function_graph: Simplify with function_graph_enter()
commit bc715ee4dbc5db462c59b9cfba92d31b3274fe3a 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 superh 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: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@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:09 +01:00
..
cpu media: arch: sh: ap325rxa: Use new renesas-ceu camera driver 2018-06-28 07:29:00 -04:00
vsyscall
.gitignore
asm-offsets.c
crash_dump.c
debugtraps.S
disassemble.c
dma-coherent.c sh: use generic dma_noncoherent_ops 2018-08-02 13:54:20 +02:00
dumpstack.c
dwarf.c sh: prefer _THIS_IP_ to current_text_addr 2018-08-17 16:20:27 -07:00
entry-common.S sh: fix debug trap failure to process signals before return to user 2018-04-12 19:47:52 -04:00
ftrace.c sh/function_graph: Simplify with function_graph_enter() 2018-12-05 19:32:09 +01:00
head_32.S
head_64.S
hw_breakpoint.c perf/arch/sh: Implement hw_breakpoint_arch_parse() 2018-06-26 09:07:57 +02:00
idle.c
io.c
io_trapped.c
iomap.c
ioport.c
irq.c softirq/sh: Use nmi_count() on /proc/interrupts print out 2018-05-14 11:25:27 +02:00
irq_32.c
irq_64.c
kdebugfs.c
kgdb.c
kprobes.c bpf/error-inject/kprobes: Clear current_kprobe and enable preempt in kprobe 2018-06-21 12:33:19 +02:00
machine_kexec.c
machvec.c
Makefile sh: use generic dma_noncoherent_ops 2018-08-02 13:54:20 +02:00
module.c
nmi_debug.c
perf_callchain.c
perf_event.c
process.c Kbuild: rename CC_STACKPROTECTOR[_STRONG] config variables 2018-06-14 12:21:18 +09:00
process_32.c Kbuild: rename CC_STACKPROTECTOR[_STRONG] config variables 2018-06-14 12:21:18 +09:00
process_64.c
ptrace.c
ptrace_32.c
ptrace_64.c
reboot.c
relocate_kernel.S
return_address.c
setup.c sh: switch to NO_BOOTMEM 2018-05-11 13:35:46 -04:00
sh_bios.c
sh_ksyms_32.c
sh_ksyms_64.c
signal_32.c
signal_64.c
smp.c
stacktrace.c
swsusp.c
sys_sh.c mm: add ksys_mmap_pgoff() helper; remove in-kernel calls to sys_mmap_pgoff() 2018-04-02 20:16:11 +02:00
sys_sh32.c mm: add ksys_fadvise64_64() helper; remove in-kernel call to sys_fadvise64_64() 2018-04-02 20:16:10 +02:00
syscalls_32.S
syscalls_64.S
time.c
topology.c
traps.c
traps_32.c signal/sh: Stop gcc warning about an impossible case in do_divide_error 2018-05-29 09:59:21 -05:00
traps_64.c
unwinder.c
vmlinux.lds.S