| 1 |
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
| 2 |
/* |
| 3 |
* S390 version |
| 4 |
* |
| 5 |
* Derived from "include/asm-i386/types.h" |
| 6 |
*/ |
| 7 |
|
| 8 |
#ifndef _UAPI_S390_TYPES_H |
| 9 |
#define _UAPI_S390_TYPES_H |
| 10 |
|
| 11 |
#include <asm-generic/int-ll64.h> |
| 12 |
|
| 13 |
#ifndef __ASSEMBLER__ |
| 14 |
|
| 15 |
typedef unsigned long addr_t; |
| 16 |
typedef __signed__ long saddr_t; |
| 17 |
|
| 18 |
typedef struct { |
| 19 |
union { |
| 20 |
struct { |
| 21 |
__u64 high; |
| 22 |
__u64 low; |
| 23 |
}; |
| 24 |
__u32 u[4]; |
| 25 |
}; |
| 26 |
} __attribute__((packed, aligned(4))) __vector128; |
| 27 |
|
| 28 |
#endif /* __ASSEMBLER__ */ |
| 29 |
|
| 30 |
#endif /* _UAPI_S390_TYPES_H */ |