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