summaryrefslogtreecommitdiffstats
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.h20
1 files changed, 20 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 000000000..a3e1cf168
--- /dev/null
+++ b/arch/s390/include/uapi/asm/schid.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _UAPIASM_SCHID_H
+#define _UAPIASM_SCHID_H
+
+#include <linux/types.h>
+
+#ifndef __ASSEMBLY__
+
+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 /* __ASSEMBLY__ */
+
+#endif /* _UAPIASM_SCHID_H */