]>
git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - tools/include/linux/types.h
1 #ifndef _TOOLS_LINUX_TYPES_H_
2 #define _TOOLS_LINUX_TYPES_H_
8 #define __SANE_USERSPACE_TYPES__ /* For PPC64, to get LL64 types */
10 #include <asm/posix_types.h>
23 * We define u64 as uint64_t for every architecture
24 * so that we can print it with "%"PRIx64 without getting warnings.
42 #define __bitwise__ __attribute__((bitwise))
46 #define __bitwise __bitwise__
53 typedef __u16 __bitwise __le16
;
54 typedef __u16 __bitwise __be16
;
55 typedef __u32 __bitwise __le32
;
56 typedef __u32 __bitwise __be32
;
57 typedef __u64 __bitwise __le64
;
58 typedef __u64 __bitwise __be64
;
65 # define __aligned_u64 __u64 __attribute__((aligned(8)))
69 struct list_head
*next
, *prev
;
73 struct hlist_node
*first
;
77 struct hlist_node
*next
, **pprev
;
80 #endif /* _TOOLS_LINUX_TYPES_H_ */