diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2021-07-25 14:12:58 +0200 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-07-27 09:39:17 +0200 |
commit | 97dd89e90136a2fe498c45f2fb079609565949d8 (patch) | |
tree | cefffc28689eb1752dd5dc1dc316b002af521cae /arch/s390/include | |
parent | s390/boot: make _diag308_reset_dma() position-independent (diff) | |
download | linux-97dd89e90136a2fe498c45f2fb079609565949d8.tar.xz linux-97dd89e90136a2fe498c45f2fb079609565949d8.zip |
s390/ctl_reg: add ctlreg5 and ctlreg15 unions
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include')
-rw-r--r-- | arch/s390/include/asm/ctl_reg.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ctl_reg.h b/arch/s390/include/asm/ctl_reg.h index adc0179fa34e..04dc65f8901d 100644 --- a/arch/s390/include/asm/ctl_reg.h +++ b/arch/s390/include/asm/ctl_reg.h @@ -111,6 +111,23 @@ union ctlreg2 { }; }; +union ctlreg5 { + unsigned long val; + struct { + unsigned long : 33; + unsigned long pasteo: 25; + unsigned long : 6; + }; +}; + +union ctlreg15 { + unsigned long val; + struct { + unsigned long lsea : 61; + unsigned long : 3; + }; +}; + #define ctl_set_bit(cr, bit) smp_ctl_set_bit(cr, bit) #define ctl_clear_bit(cr, bit) smp_ctl_clear_bit(cr, bit) |