License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / tools / testing / selftests / bpf / include / uapi / linux / types.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
0a5539f6
DM
2#ifndef _UAPI_LINUX_TYPES_H
3#define _UAPI_LINUX_TYPES_H
4
5#include <asm-generic/int-ll64.h>
6
579f1d92
YS
7/* copied from linux:include/uapi/linux/types.h */
8#define __bitwise
9typedef __u16 __bitwise __le16;
10typedef __u16 __bitwise __be16;
11typedef __u32 __bitwise __le32;
12typedef __u32 __bitwise __be32;
13typedef __u64 __bitwise __le64;
14typedef __u64 __bitwise __be64;
15
16typedef __u16 __bitwise __sum16;
17typedef __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
0a5539f6 23#endif /* _UAPI_LINUX_TYPES_H */