Re: [PATCH v2 2/4] ARC: entry: fix syscall_trace_exit argument

2022-04-18 Thread Vineet Gupta
On 4/14/22 01:17, Sergey Matyukevich wrote: From: Sergey Matyukevich 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. Signed-off-by: Sergey Matyukevich This is

[PATCH v2 2/4] ARC: entry: fix syscall_trace_exit argument

2022-04-14 Thread Sergey Matyukevich
From: Sergey Matyukevich 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. Signed-off-by: Sergey Matyukevich --- arch/arc/kernel/entry.S | 1 + 1 file changed, 1