summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/sclp.h
diff options
context:
space:
mode:
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>2015-11-24 14:56:43 +0300
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-10 13:07:30 +0300
commit238614515287c9400727e4cd7aa958649dcbf05f (patch)
tree1d9ce0e22401e63b6563538c2ed4637c5bd4fa33 /arch/s390/include/asm/sclp.h
parent695be0e7a24a8875c347437566f2c44ba673580b (diff)
downloadlinux-238614515287c9400727e4cd7aa958649dcbf05f.tar.xz
s390/sclp: detect storage-key facility
Let's correctly detect that facility. Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/sclp.h')
-rw-r--r--arch/s390/include/asm/sclp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/s390/include/asm/sclp.h b/arch/s390/include/asm/sclp.h
index 99a0150d07b9..2ad9c204b1a2 100644
--- a/arch/s390/include/asm/sclp.h
+++ b/arch/s390/include/asm/sclp.h
@@ -32,7 +32,8 @@ struct sclp_core_entry {
u8 reserved0;
u8 : 4;
u8 sief2 : 1;
- u8 : 3;
+ u8 skey : 1;
+ u8 : 2;
u8 : 2;
u8 gpere : 1;
u8 siif : 1;
@@ -73,6 +74,7 @@ struct sclp_info {
unsigned char has_cei : 1;
unsigned char has_pfmfi : 1;
unsigned char has_ibs : 1;
+ unsigned char has_skey : 1;
unsigned int ibc;
unsigned int mtid;
unsigned int mtid_cp;