aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/linux/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/linux/types.h')
-rw-r--r--tools/include/linux/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h
index b5cf25e05df2..0bdeda66aae5 100644
--- a/tools/include/linux/types.h
+++ b/tools/include/linux/types.h
@@ -60,6 +60,10 @@ typedef __u32 __bitwise __be32;
typedef __u64 __bitwise __le64;
typedef __u64 __bitwise __be64;
+typedef struct {
+ int counter;
+} atomic_t;
+
struct list_head {
struct list_head *next, *prev;
};