The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=2c1c1255e41ac3fecd79f9f704c934642f34fd60
commit 2c1c1255e41ac3fecd79f9f704c934642f34fd60 Author: Mateusz Guzik <m...@freebsd.org> AuthorDate: 2021-03-01 07:42:15 +0000 Commit: Mateusz Guzik <m...@freebsd.org> CommitDate: 2021-03-01 07:43:27 +0000 kcsan: add atomic_interrupt_fence Unbreaks building GENERIC-KCSAN. --- 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 */ _______________________________________________ dev-commits-src-main@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main To unsubscribe, send any mail to "dev-commits-src-main-unsubscr...@freebsd.org"