diff options
Diffstat (limited to 'include/asm-powerpc/ptrace.h')
-rw-r--r-- | include/asm-powerpc/ptrace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/ptrace.h b/include/asm-powerpc/ptrace.h index 3063363f6799..ffc150f602b8 100644 --- a/include/asm-powerpc/ptrace.h +++ b/include/asm-powerpc/ptrace.h | |||
@@ -106,7 +106,8 @@ extern int ptrace_put_reg(struct task_struct *task, int regno, | |||
106 | */ | 106 | */ |
107 | #define FULL_REGS(regs) (((regs)->trap & 1) == 0) | 107 | #define FULL_REGS(regs) (((regs)->trap & 1) == 0) |
108 | #ifndef __powerpc64__ | 108 | #ifndef __powerpc64__ |
109 | #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) == 0) | 109 | #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0) |
110 | #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0) | ||
110 | #endif /* ! __powerpc64__ */ | 111 | #endif /* ! __powerpc64__ */ |
111 | #define TRAP(regs) ((regs)->trap & ~0xF) | 112 | #define TRAP(regs) ((regs)->trap & ~0xF) |
112 | #ifdef __powerpc64__ | 113 | #ifdef __powerpc64__ |