56c1dd92c0
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:
|
||
---|---|---|
.. | ||
cpu | ||
vsyscall | ||
.gitignore | ||
asm-offsets.c | ||
crash_dump.c | ||
debugtraps.S | ||
disassemble.c | ||
dma-coherent.c | ||
dumpstack.c | ||
dwarf.c | ||
entry-common.S | ||
ftrace.c | ||
head_32.S | ||
head_64.S | ||
hw_breakpoint.c | ||
idle.c | ||
io.c | ||
io_trapped.c | ||
iomap.c | ||
ioport.c | ||
irq.c | ||
irq_32.c | ||
irq_64.c | ||
kdebugfs.c | ||
kgdb.c | ||
kprobes.c | ||
machine_kexec.c | ||
machvec.c | ||
Makefile | ||
module.c | ||
nmi_debug.c | ||
perf_callchain.c | ||
perf_event.c | ||
process.c | ||
process_32.c | ||
process_64.c | ||
ptrace.c | ||
ptrace_32.c | ||
ptrace_64.c | ||
reboot.c | ||
relocate_kernel.S | ||
return_address.c | ||
setup.c | ||
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 | ||
sys_sh32.c | ||
syscalls_32.S | ||
syscalls_64.S | ||
time.c | ||
topology.c | ||
traps.c | ||
traps_32.c | ||
traps_64.c | ||
unwinder.c | ||
vmlinux.lds.S |