Define the forced_successful_syscall_return() macro to
pair with our force_successful_syscall_return() definition.
Signed-off-by: Roland McGrath <roland@redhat.com>
---
include/asm-sparc64/ptrace.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/asm-sparc64/ptrace.h b/include/asm-sparc64/ptrace.h
index 6da1978..3f8826e 100644
--- a/include/asm-sparc64/ptrace.h
+++ b/include/asm-sparc64/ptrace.h
@@ -100,6 +100,8 @@ struct sparc_trapf {
#define force_successful_syscall_return() \
do { current_thread_info()->syscall_noerror = 1; \
} while (0)
+#define forced_successful_syscall_return() \
+ (current_thread_info()->syscall_noerror != 0)
#define user_mode(regs) (!((regs)->tstate & TSTATE_PRIV))
#define instruction_pointer(regs) ((regs)->tpc)
#define regs_return_value(regs) ((regs)->u_regs[UREG_I0])
--
| Renato S. Yamane | Error -71 on device descriptor read/all |
| Stoyan Gaydarov | From 2.4 to 2.6 to 2.7? |
| Rafael J. Wysocki | 2.6.27-rc4-git1: Reported regressions from 2.6.26 |
| Adrian Bunk | Re: 463 kernel developers missing! |
git: | |
| Mike Hommey | Re: Minor annoyance with git push |
| Ken Pratt | pack operation is thrashing my server |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Wink Saville | Resolving conflicts |
| Daniel Andersson | Re: rtorrent + OpenBSD = freeze |
| Pieter Verberne | File collision while using pkg_add |
| Nick Guenther | Re: Real men don't attack straw men |
| Michael | Virtual interface |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Theodore Ts'o | Re: demand paging: proposal |
| Ian Jackson | RESULT: comp.os.linux.announce passes 479:131, others fail |
| Brandon S. Allbery | Re: mkdir says "no space left on device" and more problems... |
