Merge branch 'next' into for-linus
[linux-2.6-microblaze.git] / tools / include / uapi / linux / types.h
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 /* copied from linux:include/uapi/linux/types.h */
8 #define __bitwise
9 typedef __u16 __bitwise __le16;
10 typedef __u16 __bitwise __be16;
11 typedef __u32 __bitwise __le32;
12 typedef __u32 __bitwise __be32;
13 typedef __u64 __bitwise __le64;
14 typedef __u64 __bitwise __be64;
15
16 typedef __u16 __bitwise __sum16;
17 typedef __u32 __bitwise __wsum;
18
19 #define __aligned_u64 __u64 __attribute__((aligned(8)))
20 #define __aligned_be64 __be64 __attribute__((aligned(8)))
21 #define __aligned_le64 __le64 __attribute__((aligned(8)))
22
23 #endif /* _UAPI_LINUX_TYPES_H */