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
- Lines: 11
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/include/asm-sparc64/ptrace.h
- Orig date:
2003-06-13 07:51:38.000000000 -0700
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)