s390/ctlreg: add control register bits
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 11 Sep 2023 19:40:12 +0000 (21:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 19 Sep 2023 11:26:57 +0000 (13:26 +0200)
commit9c66cc5609b13899ef7d143f51c59bdcfd63484d
tree301a0569465b64808235c087e5bd3da388ea75e0
parentda290f4382eb98e152af59e416a08d43a5c31157
s390/ctlreg: add control register bits

Instead of having only masks for specific bit locations within control
registers, also define the bit numbers and use them to define the
masks.

The bit defines can be used to convert plain numbers to defines.

Acked-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/ctlreg.h