summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/uinclude
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/lockdep/uinclude')
-rw-r--r--tools/lib/lockdep/uinclude/linux/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/compiler.h b/tools/lib/lockdep/uinclude/linux/compiler.h
index 6386dc318..fd3e56a83 100644
--- a/tools/lib/lockdep/uinclude/linux/compiler.h
+++ b/tools/lib/lockdep/uinclude/linux/compiler.h
@@ -3,6 +3,7 @@
#define __used __attribute__((__unused__))
#define unlikely
+#define READ_ONCE(x) (x)
#define WRITE_ONCE(x, val) x=(val)
#define RCU_INIT_POINTER(p, v) p=(v)