summaryrefslogtreecommitdiffstats
path: root/tools/lib/lockdep/uinclude/linux/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/lockdep/uinclude/linux/compiler.h')
-rw-r--r--tools/lib/lockdep/uinclude/linux/compiler.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/lib/lockdep/uinclude/linux/compiler.h b/tools/lib/lockdep/uinclude/linux/compiler.h
new file mode 100644
index 00000000000..7ac838a1f19
--- /dev/null
+++ b/tools/lib/lockdep/uinclude/linux/compiler.h
@@ -0,0 +1,7 @@
+#ifndef _LIBLOCKDEP_LINUX_COMPILER_H_
+#define _LIBLOCKDEP_LINUX_COMPILER_H_
+
+#define __used __attribute__((__unused__))
+#define unlikely
+
+#endif