1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _UAPI_LINUX_TYPES_H 3 #define _UAPI_LINUX_TYPES_H 4 5 #include <asm-generic/int-ll64.h> 6 7 #ifndef __ASSEMBLER__ 8 9 /* copied from linux:include/uapi/linux/types.h */ 10 #define __bitwise 11 typedef __u16 __bitwise __le16; 12 typedef __u16 __bitwise __be16; 13 typedef __u32 __bitwise __le32; 14 typedef __u32 __bitwise __be32; 15 typedef __u64 __bitwise __le64; 16 typedef __u64 __bitwise __be64; 17 18 typedef __u16 __bitwise __sum16; 19 typedef __u32 __bitwise __wsum; 20 21 #define __aligned_u64 __u64 __attribute__((aligned(8))) 22 #define __aligned_be64 __be64 __attribute__((aligned(8))) 23 #define __aligned_le64 __le64 __attribute__((aligned(8))) 24 25 #endif /* __ASSEMBLER__ */ 26 #endif /* _UAPI_LINUX_TYPES_H */ 27