Commit e6fa93b9 authored by Sergey Matyukevich's avatar Sergey Matyukevich Committed by Greg Kroah-Hartman
Browse files

UPSTREAM: ARC: entry: fix syscall_trace_exit argument



commit b1c6ecfd 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: default avatarSergey Matyukevich <sergey.matyukevich@synopsys.com>
Signed-off-by: default avatarVineet Gupta <vgupta@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 852b02d1)
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I054099e383f16bb22017dd088934ad856e7b6e0a
parent 774d9fdb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment