s390: rename psw_bits enums
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Sat, 3 Jun 2017 08:19:55 +0000 (10:19 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 12 Jun 2017 14:26:02 +0000 (16:26 +0200)
commit8bb3fdd6863c3b6b84bbab750d6b35e889c1399d
treee5999d1c2dc57a479a6d05ac3e99a2e16059ee3b
parent60c497014e34af5aa0be56d0869c67fa2b5c3786
s390: rename psw_bits enums

The address space enums that must be used when modifying the address
space part of a psw with the psw_bits() macro can easily be confused
with the psw defines that are used to mask and compare directly the
mask part of a psw.
We have e.g. PSW_AS_PRIMARY vs PSW_ASC_PRIMARY.

To avoid confusion rename the PSW_AS_* enums to PSW_BITS_AS_*.

In addition also rename the PSW_AMODE_* enums, so they also follow the
same naming scheme: PSW_BITS_AMODE_*.

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/uprobes.c
arch/s390/kvm/gaccess.c
arch/s390/kvm/gaccess.h
arch/s390/kvm/guestdbg.c
arch/s390/kvm/priv.c
arch/s390/mm/init.c