Commit 4830f352 authored by David Abdurachmanov's avatar David Abdurachmanov Committed by Greg Kroah-Hartman

riscv: fix trace_sys_exit hook

[ Upstream commit 775800b0 ]

Fix compilation error.
Signed-off-by: default avatarDavid Abdurachmanov <>
Signed-off-by: default avatarPalmer Dabbelt <>
Signed-off-by: default avatarSasha Levin <>
parent 7e710bfd
......@@ -172,6 +172,6 @@ void do_syscall_trace_exit(struct pt_regs *regs)
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
trace_sys_exit(regs, regs->regs[0]);
trace_sys_exit(regs, regs_return_value(regs));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment