diff options
Diffstat (limited to 'tools/include/linux/types.h')
-rw-r--r-- | tools/include/linux/types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h index b5cf25e..8ebf627 100644 --- a/tools/include/linux/types.h +++ b/tools/include/linux/types.h @@ -60,6 +60,14 @@ typedef __u32 __bitwise __be32; typedef __u64 __bitwise __le64; typedef __u64 __bitwise __be64; +typedef struct { + int counter; +} atomic_t; + +#ifndef __aligned_u64 +# define __aligned_u64 __u64 __attribute__((aligned(8))) +#endif + struct list_head { struct list_head *next, *prev; }; |