commit | 2e5893f64d94e20494bc0a5dcfa2846e0e1fe9dc | [log] [tgz] |
---|---|---|
author | Sergey Matyukevich <sergey.matyukevich@synopsys.com> | Thu Apr 14 11:17:22 2022 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Apr 27 13:14:11 2022 +0200 |
tree | 8bc94d72229aa4fa019e370ec64ac7dd17234afb | |
parent | 5dacfde4ec839e13f8be27ead4a6fd313ba4cd12 [diff] |
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>