kcsan: add atomic_interrupt_fence

Unbreaks building GENERIC-KCSAN.
This commit is contained in:
Mateusz Guzik 2021-03-01 07:42:15 +00:00
parent 384ee7cc6e
commit 2c1c1255e4

View File

@ -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_acq_rel kcsan_atomic_thread_fence_acq_rel
#define atomic_thread_fence_rel kcsan_atomic_thread_fence_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_thread_fence_seq_cst kcsan_atomic_thread_fence_seq_cst
#define atomic_interrupt_fence __compiler_membar
#endif /* !KCSAN_RUNTIME */ #endif /* !KCSAN_RUNTIME */