xref: /linux/arch/s390/include/uapi/asm/chpid.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  *    Copyright IBM Corp. 2007, 2012
4  *    Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
5  */
6 
7 #ifndef _UAPI_ASM_S390_CHPID_H
8 #define _UAPI_ASM_S390_CHPID_H
9 
10 #include <linux/string.h>
11 #include <linux/types.h>
12 
13 #define __MAX_CHPID 255
14 
15 struct chp_id {
16 	__u8 reserved1;
17 	__u8 cssid;
18 	__u8 reserved2;
19 	__u8 id;
20 } __attribute__((packed));
21 
22 
23 #endif /* _UAPI_ASM_S390_CHPID_H */
24