git: a552da13fc8f - stable/13 - kcsan: add atomic_interrupt_fence

Konstantin Belousov kib at FreeBSD.org
Sat Mar 6 02:07:03 UTC 2021


The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=a552da13fc8f803ffc51755436441f3c14e3c817

commit a552da13fc8f803ffc51755436441f3c14e3c817
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-06 02:06:55 +0000

    kcsan: add atomic_interrupt_fence
    
    (cherry picked from commit 2c1c1255e41ac3fecd79f9f704c934642f34fd60)
---
 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-all mailing list