David Howells | 9807f75 | 2012-10-09 09:47:31 +0100 | [diff] [blame] | 1 | /* |
Sebastian Ott | 4e86069 | 2012-10-11 09:54:56 +0200 | [diff] [blame] | 2 | * Copyright IBM Corp. 2007, 2012 |
David Howells | 9807f75 | 2012-10-09 09:47:31 +0100 | [diff] [blame] | 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 { |
Sebastian Ott | 4e86069 | 2012-10-11 09:54:56 +0200 | [diff] [blame] | 15 | __u8 reserved1; |
| 16 | __u8 cssid; |
| 17 | __u8 reserved2; |
| 18 | __u8 id; |
David Howells | 9807f75 | 2012-10-09 09:47:31 +0100 | [diff] [blame] | 19 | } __attribute__((packed)); |
| 20 | |
| 21 | |
| 22 | #endif /* _UAPI_ASM_S390_CHPID_H */ |