Commit cb951785 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

s390/ptrace: get rid of long longs in psw_bits

The long longs were introduced by me in order to have a working
definition of the struct psw_bits also in 31 bit mode. Since that is
gone also get rid of the long longs.
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 7022ec49
...@@ -24,25 +24,25 @@ ...@@ -24,25 +24,25 @@
PSW_MASK_PSTATE | PSW_ASC_PRIMARY) PSW_MASK_PSTATE | PSW_ASC_PRIMARY)
struct psw_bits { struct psw_bits {
unsigned long long : 1; unsigned long : 1;
unsigned long long r : 1; /* PER-Mask */ unsigned long r : 1; /* PER-Mask */
unsigned long long : 3; unsigned long : 3;
unsigned long long t : 1; /* DAT Mode */ unsigned long t : 1; /* DAT Mode */
unsigned long long i : 1; /* Input/Output Mask */ unsigned long i : 1; /* Input/Output Mask */
unsigned long long e : 1; /* External Mask */ unsigned long e : 1; /* External Mask */
unsigned long long key : 4; /* PSW Key */ unsigned long key : 4; /* PSW Key */
unsigned long long : 1; unsigned long : 1;
unsigned long long m : 1; /* Machine-Check Mask */ unsigned long m : 1; /* Machine-Check Mask */
unsigned long long w : 1; /* Wait State */ unsigned long w : 1; /* Wait State */
unsigned long long p : 1; /* Problem State */ unsigned long p : 1; /* Problem State */
unsigned long long as : 2; /* Address Space Control */ unsigned long as : 2; /* Address Space Control */
unsigned long long cc : 2; /* Condition Code */ unsigned long cc : 2; /* Condition Code */
unsigned long long pm : 4; /* Program Mask */ unsigned long pm : 4; /* Program Mask */
unsigned long long ri : 1; /* Runtime Instrumentation */ unsigned long ri : 1; /* Runtime Instrumentation */
unsigned long long : 6; unsigned long : 6;
unsigned long long eaba : 2; /* Addressing Mode */ unsigned long eaba : 2; /* Addressing Mode */
unsigned long long : 31; unsigned long : 31;
unsigned long long ia : 64;/* Instruction Address */ unsigned long ia : 64; /* Instruction Address */
}; };
enum { enum {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment