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