Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2021 02:07:03 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a552da13fc8f - stable/13 - kcsan: add atomic_interrupt_fence
Message-ID:  <202103060207.126273wA021344@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

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

commit a552da13fc8f803ffc51755436441f3c14e3c817
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-03-01 07:42:15 +0000
Commit:     Konstantin Belousov <kib@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 */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103060207.126273wA021344>