projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7accd1f
)
s390/ctl_reg: add ctlreg5 and ctlreg15 unions
author
Heiko Carstens
<hca@linux.ibm.com>
Sun, 25 Jul 2021 12:12:58 +0000
(14:12 +0200)
committer
Heiko Carstens
<hca@linux.ibm.com>
Tue, 27 Jul 2021 07:39:17 +0000
(09:39 +0200)
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/ctl_reg.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/include/asm/ctl_reg.h
b/arch/s390/include/asm/ctl_reg.h
index adc0179fa34e98e91ae3216737949c7a63e4ad0b..04dc65f8901dcc24c9b5a23b26885215cb0b9d29 100644
(file)
--- 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)