git: 04b20818b986 - releng/13.0 - kcsan: add atomic_interrupt_fence
Konstantin Belousov
kib at FreeBSD.org
Tue Mar 9 05:55:16 UTC 2021
The branch releng/13.0 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=04b20818b986be7544be8a42edd2681b93bfdee3
commit 04b20818b986be7544be8a42edd2681b93bfdee3
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-03-01 07:42:15 +0000
Commit: Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-03-09 05:54:37 +0000
kcsan: add atomic_interrupt_fence
Approved by: re (gjb)
(cherry picked from commit 2c1c1255e41ac3fecd79f9f704c934642f34fd60)
(cherry picked from commit a552da13fc8f803ffc51755436441f3c14e3c817)
---
sys/sys/_cscan_atomic.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/sys/_cscan_atomic.h b/sys/sys/_cscan_atomic.h
index aed96580e1e4..b458c24841bf 100644
--- a/sys/sys/_cscan_atomic.h
+++ b/sys/sys/_cscan_atomic.h
@@ -373,6 +373,7 @@ void kcsan_atomic_thread_fence_seq_cst(void);
#define atomic_thread_fence_acq_rel kcsan_atomic_thread_fence_acq_rel
#define atomic_thread_fence_rel kcsan_atomic_thread_fence_rel
#define atomic_thread_fence_seq_cst kcsan_atomic_thread_fence_seq_cst
+#define atomic_interrupt_fence __compiler_membar
#endif /* !KCSAN_RUNTIME */
More information about the dev-commits-src-branches
mailing list