git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[S390] Expose a constant for the number of words representing the CRs
[safe/jmp/linux-2.6]
/
arch
/
s390
/
include
/
asm
/
ptrace.h
diff --git
a/arch/s390/include/asm/ptrace.h
b/arch/s390/include/asm/ptrace.h
index
8920025
..
f1b0516
100644
(file)
--- a/
arch/s390/include/asm/ptrace.h
+++ b/
arch/s390/include/asm/ptrace.h
@@
-172,6
+172,8
@@
#define NUM_CRS 16
#define NUM_ACRS 16
#define NUM_CRS 16
#define NUM_ACRS 16
+#define NUM_CR_WORDS 3
+
#define FPR_SIZE 8
#define FPC_SIZE 4
#define FPC_PAD_SIZE 4 /* gcc insists on aligning the fpregs */
#define FPR_SIZE 8
#define FPC_SIZE 4
#define FPC_PAD_SIZE 4 /* gcc insists on aligning the fpregs */
@@
-334,7
+336,7
@@
struct pt_regs
*/
typedef struct
{
*/
typedef struct
{
- unsigned long cr[
3
];
+ unsigned long cr[
NUM_CR_WORDS
];
} per_cr_words;
#define PER_EM_MASK 0xE8000000UL
} per_cr_words;
#define PER_EM_MASK 0xE8000000UL