android_kernel_xiaomi_sm8350/arch/arc/kernel
Sergey Matyukevich 852b02d1f8 ARC: entry: fix syscall_trace_exit argument
commit b1c6ecfdd06907554518ec384ce8e99889d15193 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 13:50:49 +02:00
..
.gitignore
arc_hostlink.c
arcksyms.c
asm-offsets.c
ctx_sw_asm.S
ctx_sw.c
devtree.c
disasm.c
entry-arcv2.S
entry-compact.S
entry.S ARC: entry: fix syscall_trace_exit argument 2022-04-27 13:50:49 +02:00
fpu.c
head.S
intc-arcv2.c
intc-compact.c
irq.c
kgdb.c
kprobes.c
Makefile
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