diff options
Diffstat (limited to 'arch/arm64/include/asm/ptrace.h')
-rw-r--r-- | arch/arm64/include/asm/ptrace.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/ptrace.h b/arch/arm64/include/asm/ptrace.h index 41ed9e13795e..d6dd9fdbc3be 100644 --- a/arch/arm64/include/asm/ptrace.h +++ b/arch/arm64/include/asm/ptrace.h | |||
@@ -58,6 +58,13 @@ | |||
58 | #define COMPAT_PSR_Z_BIT 0x40000000 | 58 | #define COMPAT_PSR_Z_BIT 0x40000000 |
59 | #define COMPAT_PSR_N_BIT 0x80000000 | 59 | #define COMPAT_PSR_N_BIT 0x80000000 |
60 | #define COMPAT_PSR_IT_MASK 0x0600fc00 /* If-Then execution state mask */ | 60 | #define COMPAT_PSR_IT_MASK 0x0600fc00 /* If-Then execution state mask */ |
61 | |||
62 | #ifdef CONFIG_CPU_BIG_ENDIAN | ||
63 | #define COMPAT_PSR_ENDSTATE COMPAT_PSR_E_BIT | ||
64 | #else | ||
65 | #define COMPAT_PSR_ENDSTATE 0 | ||
66 | #endif | ||
67 | |||
61 | /* | 68 | /* |
62 | * These are 'magic' values for PTRACE_PEEKUSR that return info about where a | 69 | * These are 'magic' values for PTRACE_PEEKUSR that return info about where a |
63 | * process is located in memory. | 70 | * process is located in memory. |