diff options
Diffstat (limited to 'arch/s390/include/asm/ptrace.h')
-rw-r--r-- | arch/s390/include/asm/ptrace.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/include/asm/ptrace.h b/arch/s390/include/asm/ptrace.h index 8920025c3c02..f1b051630c50 100644 --- a/arch/s390/include/asm/ptrace.h +++ b/arch/s390/include/asm/ptrace.h | |||
@@ -172,6 +172,8 @@ | |||
172 | #define NUM_CRS 16 | 172 | #define NUM_CRS 16 |
173 | #define NUM_ACRS 16 | 173 | #define NUM_ACRS 16 |
174 | 174 | ||
175 | #define NUM_CR_WORDS 3 | ||
176 | |||
175 | #define FPR_SIZE 8 | 177 | #define FPR_SIZE 8 |
176 | #define FPC_SIZE 4 | 178 | #define FPC_SIZE 4 |
177 | #define FPC_PAD_SIZE 4 /* gcc insists on aligning the fpregs */ | 179 | #define FPC_PAD_SIZE 4 /* gcc insists on aligning the fpregs */ |
@@ -334,7 +336,7 @@ struct pt_regs | |||
334 | */ | 336 | */ |
335 | typedef struct | 337 | typedef struct |
336 | { | 338 | { |
337 | unsigned long cr[3]; | 339 | unsigned long cr[NUM_CR_WORDS]; |
338 | } per_cr_words; | 340 | } per_cr_words; |
339 | 341 | ||
340 | #define PER_EM_MASK 0xE8000000UL | 342 | #define PER_EM_MASK 0xE8000000UL |