mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
arch/tile: Fix syscall return value passed to tracepoint
Currently the syscall number is passed, but it should be the return value, which is kept in r0. Signed-off-by: Simon Marchi <[email protected]> Signed-off-by: Chris Metcalf <[email protected]> [using a raw 0 value]
This commit is contained in:
parent
ffae3d0e36
commit
9fc1894c98
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ void do_syscall_trace_exit(struct pt_regs *regs)
|
|||
tracehook_report_syscall_exit(regs, 0);
|
||||
|
||||
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
|
||||
trace_sys_exit(regs, regs->regs[TREG_SYSCALL_NR]);
|
||||
trace_sys_exit(regs, regs->regs[0]);
|
||||
}
|
||||
|
||||
void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, int error_code)
|
||||
|
|
|
|||
Loading…
Reference in a new issue