summaryrefslogtreecommitdiff
path: root/arch/s390/include/uapi/asm/schid.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/include/uapi/asm/schid.h')
-rw-r--r--arch/s390/include/uapi/asm/schid.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/s390/include/uapi/asm/schid.h b/arch/s390/include/uapi/asm/schid.h
new file mode 100644
index 000000000000..32f3ab2a8200
--- /dev/null
+++ b/arch/s390/include/uapi/asm/schid.h
@@ -0,0 +1,16 @@
+#ifndef _UAPIASM_SCHID_H
+#define _UAPIASM_SCHID_H
+
+#include <linux/types.h>
+
+struct subchannel_id {
+ __u32 cssid : 8;
+ __u32 : 4;
+ __u32 m : 1;
+ __u32 ssid : 2;
+ __u32 one : 1;
+ __u32 sch_no : 16;
+} __attribute__ ((packed, aligned(4)));
+
+
+#endif /* _UAPIASM_SCHID_H */