mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 22:54:01 +00:00
riscv: fix trace_sys_exit hook
[ Upstream commit 775800b0f1
]
Fix compilation error.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
da78c8cda5
commit
fa92c4e6b2
1 changed files with 1 additions and 1 deletions
|
@ -120,6 +120,6 @@ void do_syscall_trace_exit(struct pt_regs *regs)
|
|||
|
||||
#ifdef CONFIG_HAVE_SYSCALL_TRACEPOINTS
|
||||
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
|
||||
trace_sys_exit(regs, regs->regs[0]);
|
||||
trace_sys_exit(regs, regs_return_value(regs));
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue