patch-2.4.23 linux-2.4.23/include/asm-sparc64/ptrace.h

Next file: linux-2.4.23/include/asm-sparc64/smp.h
Previous file: linux-2.4.23/include/asm-sparc64/processor.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-sparc64/ptrace.h linux-2.4.23/include/asm-sparc64/ptrace.h
@@ -97,6 +97,10 @@
 #define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
 #define instruction_pointer(regs) ((regs)->tpc)
 extern void show_regs(struct pt_regs *);
+#define force_successful_syscall_return() \
+do { \
+	current->thread.flags |= SPARC_FLAG_SYS_SUCCESS; \
+} while (0)
 #endif
 
 #else /* __ASSEMBLY__ */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)