diff options
Diffstat (limited to 'arch/s390/include/uapi/asm/chpid.h')
-rw-r--r-- | arch/s390/include/uapi/asm/chpid.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/s390/include/uapi/asm/chpid.h b/arch/s390/include/uapi/asm/chpid.h new file mode 100644 index 000000000000..581992dfae27 --- /dev/null +++ b/arch/s390/include/uapi/asm/chpid.h | |||
@@ -0,0 +1,22 @@ | |||
1 | /* | ||
2 | * Copyright IBM Corp. 2007 | ||
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 */ | ||