linux-stable/arch/arc/kernel
Sergey Matyukevich 5e89947d00 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 13:15:31 +02:00
..
.gitignore
arc_hostlink.c
arcksyms.c ARC: export __udivdi3 for modules 2016-08-19 14:09:33 -07:00
asm-offsets.c
ctx_sw.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/debug.h> 2017-03-02 08:42:34 +01:00
ctx_sw_asm.S ARC: dw2 unwind: enable cfi pseudo ops in string lib 2016-09-30 14:48:22 -07:00
devtree.c ARC: [plat-hsdk] initial port for HSDK board 2017-09-01 11:26:28 -07:00
disasm.c
entry-arcv2.S ARCv2: support manual regfile save on interrupts 2019-03-23 14:35:16 +01:00
entry-compact.S ARC: typos fix in kernel/entry-compact.S 2017-08-28 15:17:36 -07:00
entry.S ARC: entry: fix syscall_trace_exit argument 2022-04-27 13:15:31 +02:00
fpu.c
head.S ARC: u-boot args: check that magic number is correct 2019-04-20 09:14:59 +02:00
intc-arcv2.c ARCv2: support manual regfile save on interrupts 2019-03-23 14:35:16 +01:00
intc-compact.c ARCv2: SMP: Mask only private-per-core IRQ lines on boot at core intc 2017-08-28 16:11:15 -07:00
irq.c ARC: Enable machine_desc->init_per_cpu for !CONFIG_SMP 2018-08-24 13:09:03 +02:00
kgdb.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
kprobes.c
Makefile ARC: Remove empty kernel/pcibios.c 2017-08-02 14:53:35 -05:00
mcip.c ARC: mcip: update MCIP debug mask when the new cpu came online 2018-05-30 07:52:07 +02:00
module.c ARC: module: Fix !CONFIG_ARC_DW2_UNWIND builds 2017-01-18 11:17:44 -08:00
perf_event.c ARC: perf: Accommodate big-endian CPU 2019-12-01 09:14:21 +01:00
process.c ARC: clone syscall to setp r25 as thread pointer 2018-10-13 09:27:28 +02:00
ptrace.c ARCv2: ptrace: provide regset for accumulator/r30 regs 2017-05-03 11:21:31 -07:00
reset.c
setup.c ARC: Fix ICCM & DCCM runtime size checks 2020-06-11 09:22:56 +02:00
signal.c ARCv2: save ABI registers across signal handling 2021-06-30 08:48:54 -04:00
smp.c ARC: setup cpu possible mask according to possible-cpus dts property 2018-05-30 07:52:07 +02:00
stacktrace.c ARC: stack unwinding: don't assume non-current task is sleeping 2020-12-29 13:46:43 +01:00
sys.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
traps.c ARC: handle gcc generated __builtin_trap for older compiler 2019-07-10 09:54:42 +02:00
troubleshoot.c mm: treewide: remove GFP_TEMPORARY allocation flag 2017-09-13 18:53:16 -07:00
unaligned.c ARC: [arcompact] brown paper bag bug in unaligned access delay slot fixup 2017-02-07 10:02:01 -08:00
unwind.c ARC: hide unused function unw_hdr_alloc 2019-07-21 09:04:41 +02:00
vmlinux.lds.S ARC: Fix CONFIG_STACKDEPOT 2021-09-03 09:56:24 +02:00