The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=e79a57d4ecb73b7e779260b80f7b747eb29ce4d2
commit e79a57d4ecb73b7e779260b80f7b747eb29ce4d2 Author: Jean-Sébastien Pédron <[email protected]> AuthorDate: 2022-12-01 13:59:16 +0000 Commit: Emmanuel Vadot <[email protected]> CommitDate: 2022-12-01 13:59:16 +0000 linuxkpi: Add `cmpxchg64()` in <asm/atomic.h> Differential Revision: https://reviews.freebsd.org/D36966 --- sys/compat/linuxkpi/common/include/asm/atomic.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/asm/atomic.h b/sys/compat/linuxkpi/common/include/asm/atomic.h index b4154274f3f8..bdd02e0e4f55 100644 --- a/sys/compat/linuxkpi/common/include/asm/atomic.h +++ b/sys/compat/linuxkpi/common/include/asm/atomic.h @@ -218,6 +218,7 @@ atomic_cmpxchg(atomic_t *v, int old, int new) __ret.val; \ }) +#define cmpxchg64(...) cmpxchg(__VA_ARGS__) #define cmpxchg_relaxed(...) cmpxchg(__VA_ARGS__) #define xchg(ptr, new) ({ \
