1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPI_LINUX_TYPES_H 20 #define _UAPI_LINUX_TYPES_H 21 #include <asm/types.h> 22 #ifndef __ASSEMBLY__ 23 #include <linux/posix_types.h> 24 #define __bitwise__ 25 #define __bitwise __bitwise__ 26 typedef __u16 __bitwise __le16; 27 typedef __u16 __bitwise __be16; 28 typedef __u32 __bitwise __le32; 29 typedef __u32 __bitwise __be32; 30 typedef __u64 __bitwise __le64; 31 typedef __u64 __bitwise __be64; 32 typedef __u16 __bitwise __sum16; 33 typedef __u32 __bitwise __wsum; 34 #define __aligned_u64 __u64 __attribute__((aligned(8))) 35 #define __aligned_be64 __be64 __attribute__((aligned(8))) 36 #define __aligned_le64 __le64 __attribute__((aligned(8))) 37 typedef unsigned __bitwise __poll_t; 38 #endif 39 #endif 40