linux/arch/arc/kernel
Sergey Matyukevich 4d98fbb266 ARC: entry: fix syscall_trace_exit argument
commit b1c6ecfdd0 upstream.

Function syscall_trace_exit expects pointer to pt_regs. However
r0 is also used to keep syscall return value. Restore pointer
to pt_regs before calling syscall_trace_exit.

Cc: <stable@vger.kernel.org>
Signed-off-by: Sergey Matyukevich <sergey.matyukevich@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-27 14:39:00 +02:00
..
.gitignore
Makefile
arc_hostlink.c
arcksyms.c
asm-offsets.c
ctx_sw.c
ctx_sw_asm.S
devtree.c
disasm.c
entry-arcv2.S
entry-compact.S
entry.S
fpu.c
head.S
intc-arcv2.c
intc-compact.c
irq.c
jump_label.c
kgdb.c
kprobes.c
mcip.c
module.c
perf_event.c
process.c
ptrace.c
reset.c
setup.c
signal.c
smp.c
stacktrace.c
sys.c
traps.c
troubleshoot.c
unaligned.c
unwind.c
vmlinux.lds.S