diff options
Diffstat (limited to 'tools/include/linux/compiler.h')
-rw-r--r-- | tools/include/linux/compiler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/include/linux/compiler.h b/tools/include/linux/compiler.h index fbc6665c6d53..88461f09cc86 100644 --- a/tools/include/linux/compiler.h +++ b/tools/include/linux/compiler.h | |||
@@ -35,4 +35,6 @@ | |||
35 | # define unlikely(x) __builtin_expect(!!(x), 0) | 35 | # define unlikely(x) __builtin_expect(!!(x), 0) |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | #define ACCESS_ONCE(x) (*(volatile typeof(x) *)&(x)) | ||
39 | |||
38 | #endif /* _TOOLS_LINUX_COMPILER_H */ | 40 | #endif /* _TOOLS_LINUX_COMPILER_H */ |