xref: /openbmc/linux/arch/s390/include/uapi/asm/types.h (revision 8dda2eac)
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 __ASSEMBLY__
14 
15 /* A address type so that arithmetic can be done on it & it can be upgraded to
16    64 bit when necessary
17 */
18 typedef unsigned long addr_t;
19 typedef __signed__ long saddr_t;
20 
21 typedef struct {
22 	__u32 u[4];
23 } __vector128;
24 
25 #endif /* __ASSEMBLY__ */
26 
27 #endif /* _UAPI_S390_TYPES_H */
28