aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/atomic_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sys/atomic_common.h')
-rw-r--r--sys/sys/atomic_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/atomic_common.h b/sys/sys/atomic_common.h
index 48f0a8b8939c..403b3de8a092 100644
--- a/sys/sys/atomic_common.h
+++ b/sys/sys/atomic_common.h
@@ -78,4 +78,6 @@
#define atomic_load_consume_ptr(p) \
((__typeof(*p)) atomic_load_acq_ptr((uintptr_t *)p))
+#define atomic_interrupt_fence() __compiler_membar()
+
#endif