kernel/arch/nios2/include/asm/ptrace.h
.. .. @@ -74,6 +74,8 @@ 74 74 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE)\ 75 75 - 1) 76 76 77 +#define force_successful_syscall_return() (current_pt_regs()->orig_r2 = -1)78 +77 79 int do_syscall_trace_enter(void); 78 80 void do_syscall_trace_exit(void); 79 81 #endif /* __ASSEMBLY__ */