]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-powerpc/ptrace.h
Pull kmalloc into release branch
[linux-2.6-omap-h63xx.git] / include / asm-powerpc / ptrace.h
index 1f7ecdb0b6cebf6e4156efac91a5ede01440e48a..dc4cb9cc73a1b43394b8f12b903e91cdb359764d 100644 (file)
@@ -87,7 +87,7 @@ extern unsigned long profile_pc(struct pt_regs *regs);
 
 #define force_successful_syscall_return()   \
        do { \
-               current_thread_info()->syscall_noerror = 1; \
+               set_thread_flag(TIF_NOERROR); \
        } while(0)
 
 /*
@@ -229,13 +229,13 @@ do {                                                                            \
 #define PTRACE_GET_DEBUGREG    25
 #define PTRACE_SET_DEBUGREG    26
 
-#ifdef __powerpc64__
 /* Additional PTRACE requests implemented on PowerPC. */
 #define PPC_PTRACE_GETREGS     0x99    /* Get GPRs 0 - 31 */
 #define PPC_PTRACE_SETREGS     0x98    /* Set GPRs 0 - 31 */
 #define PPC_PTRACE_GETFPREGS   0x97    /* Get FPRs 0 - 31 */
 #define PPC_PTRACE_SETFPREGS   0x96    /* Set FPRs 0 - 31 */
 
+#ifdef __powerpc64__
 /* Calls to trace a 64bit program from a 32bit program */
 #define PPC_PTRACE_PEEKTEXT_3264 0x95
 #define PPC_PTRACE_PEEKDATA_3264 0x94