xref: /linux/arch/s390/include/uapi/asm/chpid.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
29807f759SDavid Howells /*
34e860696SSebastian Ott  *    Copyright IBM Corp. 2007, 2012
49807f759SDavid Howells  *    Author(s): Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
59807f759SDavid Howells  */
69807f759SDavid Howells 
79807f759SDavid Howells #ifndef _UAPI_ASM_S390_CHPID_H
89807f759SDavid Howells #define _UAPI_ASM_S390_CHPID_H
99807f759SDavid Howells 
109807f759SDavid Howells #include <linux/string.h>
119807f759SDavid Howells #include <linux/types.h>
129807f759SDavid Howells 
139807f759SDavid Howells #define __MAX_CHPID 255
149807f759SDavid Howells 
159807f759SDavid Howells struct chp_id {
164e860696SSebastian Ott 	__u8 reserved1;
174e860696SSebastian Ott 	__u8 cssid;
184e860696SSebastian Ott 	__u8 reserved2;
194e860696SSebastian Ott 	__u8 id;
209807f759SDavid Howells } __attribute__((packed));
219807f759SDavid Howells 
229807f759SDavid Howells 
239807f759SDavid Howells #endif /* _UAPI_ASM_S390_CHPID_H */
24