aboutsummaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h
index c1557d8..ab6e28e 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -35,6 +35,8 @@
#define offsetof(type,m) __builtin_offsetof(type,m)
#endif
+#define __nomcount __attribute__((no_instrument_function))
+
/* Compiler barrier */
static inline void barrier(void)
{