lkml.org 
[lkml]   [2008]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/8] powerpc ptrace: forced_successful_syscall_return()
Date
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-powerpc/ptrace.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-powerpc/ptrace.h b/include/asm-powerpc/ptrace.h
index 891d689..07dd6fe 100644
--- a/include/asm-powerpc/ptrace.h
+++ b/include/asm-powerpc/ptrace.h
@@ -93,6 +93,7 @@ extern unsigned long profile_pc(struct pt_regs *regs);
do { \
set_thread_flag(TIF_NOERROR); \
} while(0)
+#define forced_successful_syscall_return() (test_thread_flag(TIF_NOERROR))

struct task_struct;
extern unsigned long ptrace_get_reg(struct task_struct *task, int regno);

\
 
 \ /
  Last update: 2008-03-19 23:53    [W:0.095 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site