]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390: rename struct psw_bits members
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 3 Jun 2017 08:56:07 +0000 (10:56 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:26:02 +0000 (16:26 +0200)
commita752598254016d2f9b4415d43a6402fe083f70b2
tree63aed3e4e5ab3caee2a369c3ee7237bfa25e05d9
parent8bb3fdd6863c3b6b84bbab750d6b35e889c1399d
s390: rename struct psw_bits members

Rename a couple of the struct psw_bits members so it is more obvious
for what they are good. Initially I thought using the single character
names from the PoP would be sufficient and obvious, but admittedly
that is not true.

The current implementation is not easy to use, if one has to look into
the source file to figure out which member represents the 'per' bit
(which is the 'r' member).

Therefore rename the members to sane names that are identical to the
uapi psw mask defines:

r -> per
i -> io
e -> ext
t -> dat
m -> mcheck
w -> wait
p -> pstate

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/ptrace.h
arch/s390/kernel/dumpstack.c
arch/s390/kernel/perf_cpum_sf.c
arch/s390/kernel/uprobes.c
arch/s390/kvm/gaccess.c
arch/s390/kvm/priv.c
arch/s390/mm/init.c